OKLCH in HEX: #463947

Noto anche come: Tailwind mauve-700

Risultato

oklch(0.36380 0.02934 323.885) → #463947

I valori sono mostrati a piena precisione, quindi riconvertendo si ottiene esattamente #463947. La forma arrotondata è quella che di solito incolli nel CSS.

Calcolo passo passo

Ogni numero è calcolato dall’input, nulla viene cercato in tabelle.

  1. 1. input

    oklch(0.36380 0.02934 323.885)
  2. 2. OKLCH → Oklab

    a = C·cos H = 0.02370
    b = C·sin H = -0.01729
  3. 3. Oklab → LMS′

    l′ = L + 0.3963·a + 0.2158·b = 0.369462
    m′ = L − 0.1056·a − 0.0639·b = 0.362402
    s′ = L − 0.0895·a − 1.2915·b = 0.384013
  4. 4. cube

    l = 0.369462³ = 0.050432
    m = 0.362402³ = 0.047596
    s = 0.384013³ = 0.056629
  5. 5. LMS → linear sRGB

    R = 4.0767·l − 3.3077·m + 0.2310·s = 0.061245
    G = −1.2684·l + 2.6098·m − 0.3413·s = 0.040916
    B = −0.0042·l − 0.7034·m + 1.7076·s = 0.063009
  6. 6. linear → sRGB, × 255

    R = 0.27451 × 255 = 70.00 → 70
    G = 0.22353 × 255 = 57.00 → 57
    B = 0.27843 × 255 = 71.00 → 71
  7. 7. RGB → HEX

    #463947

Tutti i formati

HEX
#463947
RGB
rgb(70 57 71)
RGB (legacy)
rgb(70, 57, 71)
HSL
hsl(295.71 10.94% 25.10%) → hsl(296 11% 25%)
HWB
hwb(296 22% 72%)
OKLCH
oklch(0.364 0.029 323.9) · oklch(36.4% 0.029 323.9)
OKLab
oklab(0.364 0.024 -0.017)
Lab (D50)
lab(25.80 8.11 -6.40)
LCH (D50)
lch(25.80 10.33 321.74)
Display P3
color(display-p3 0.2663 0.2254 0.2748)
Linear sRGB
color(srgb-linear 0.0612 0.0409 0.0630)

Gamut: sRGB e Display P3

#463947 è un colore esadecimale, quindi sta dentro sRGB e di conseguenza dentro Display P3. A questa luminosità e tonalità sRGB arriva a una croma di 0.171 e Display P3 a 0.186; questo colore usa il 17% della croma sRGB disponibile.

Snippet CSS

.element {
  color: #463947;
  color: rgb(70 57 71);
  color: hsl(296 11% 25%);
  color: oklch(0.364 0.029 323.9);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.364 0.029 323.9);
}
/* arbitrary values */
class="text-[#463947] bg-[oklch(0.364_0.029_323.9)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.2663 0.2254 0.2748); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #463947 calc(l - 0.1) c h); }

Colori vicini

I colori più vicini nelle palette Tailwind e CSS (distanza OKLab).

Più chiaro e più scuro, stessa tonalità e croma

  • #564957 · oklch(0.424 0.029 323.9) · ΔL +0.06
  • #362A37 · oklch(0.304 0.029 323.9) · ΔL −0.06

Apri nello studio

Altri convertitori per questo colore

Tutti i convertitori →