#170213

Closest named color: Very Dark Brown (#1D0200). oklch(14.7% 0.054 335.3), rgb(23, 2, 19).

Aa

White text reads best on this color (19.91:1).

About this color

#170213 is a very dark, muted purple. In OKLCH its lightness is 15%, its chroma 0.054 and its hue 335°. Its hue sits on the warm side of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.053 away. White text reads best on it, at 19.91:1.

Hue familyPurples
Lightnessvery dark (15%)
Chromamuted (0.054)
Temperaturewarm
Nearest nameVery Dark Brown (#1D0200)
Black text1.05:1
White text19.91:1

Values

HEX#170213
RGBrgb(23, 2, 19)
HSLhsl(311, 84%, 5%)
OKLCHoklch(14.7% 0.054 335.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #170213 19.91:1 AAA Lc -107.6 Preferred for body text
Black text on #170213 1.05:1 Fails Lc 0.0 Not readable
#170213 text on white 19.91:1 AAA Lc 105.7 Preferred for body text
#170213 text on black 1.05:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F9F3F8

    oklch(97% 0.009 330.9)

  2. Step 100

    100

    #F2E5EF

    oklch(93.5% 0.019 333.5)

  3. Step 200

    200

    #E9D1E2

    oklch(88.5% 0.035 336.2)

  4. Step 300

    300

    #DBB2D1

    oklch(80.9% 0.063 334.9)

  5. Step 400

    400

    #C888B9

    oklch(70.6% 0.101 335.4)

  6. Step 500

    500

    #B969A8

    oklch(63.1% 0.13 335.4)

  7. Step 600

    600

    #A44F93

    oklch(55.6% 0.141 335.5)

  8. Step 700

    700

    #8C3F7D

    oklch(49% 0.131 335.4)

  9. Step 800

    800

    #723566

    oklch(42.8% 0.108 335.3)

  10. Step 900

    900

    #5C2E53

    oklch(37.6% 0.085 334.9)

  11. Step 950

    950 (this color)

    #170213

    oklch(14.7% 0.054 335.3)

Export this scale for Tailwind in the Tailwind colors tool

#170213 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0207140.058
Deuteranopia (no green cones)#070A120.050
Tritanopia (no blue cones)#1903080.027
Achromatopsia (no color)#0909090.054

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #170213

    #170213

    oklch(14.7% 0.054 335.3)

  • #000F05

    #000F05

    oklch(14.8% 0.036 155.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170213

    #170213

    oklch(14.7% 0.054 335.3)

  • #10041C

    #10041C

    oklch(14.7% 0.053 305.2)

  • #1B0107

    #1B0107

    oklch(14.6% 0.053 6.4)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #170213

    #170213

    oklch(14.7% 0.054 335.3)

  • #070D00

    #070D00

    oklch(14.7% 0.037 125.7)

  • #000E0C

    #000E0C

    oklch(14.7% 0.026 185.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170213

    #170213

    oklch(14.7% 0.054 335.3)

  • #0E0A00

    #0E0A00

    oklch(14.6% 0.03 96)

  • #000D11

    #000D11

    oklch(14.6% 0.026 214.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170213

    #170213

    oklch(14.7% 0.054 335.3)

  • #140700

    #140700

    oklch(14.7% 0.033 62.9)

  • #000F05

    #000F05

    oklch(14.8% 0.036 155.9)

  • #000B19

    #000B19

    oklch(14.5% 0.038 246.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #170213, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #170213 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.