#170218

Closest named color: Very Dark Brown (#1D0200). oklch(15.1% 0.059 326.3), rgb(23, 2, 24).

Aa

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

About this color

#170218 is a very dark, muted purple. In OKLCH its lightness is 15%, its chroma 0.059 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Very Dark Brown (#1D0200), ΔE 0.063 away. White text reads best on it, at 19.84:1.

Hue familyPurples
Lightnessvery dark (15%)
Chromamuted (0.059)
Temperaturein between
Nearest nameVery Dark Brown (#1D0200)
Black text1.05:1
White text19.84:1

Values

HEX#170218
RGBrgb(23, 2, 24)
HSLhsl(297, 85%, 5%)
OKLCHoklch(15.1% 0.059 326.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 #170218 19.84:1 AAA Lc -107.6 Preferred for body text
Black text on #170218 1.05:1 Fails Lc 0.0 Not readable
#170218 text on white 19.84:1 AAA Lc 105.6 Preferred for body text
#170218 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E5F1

    oklch(93.5% 0.02 325.7)

  3. Step 200

    200

    #E7D1E7

    oklch(88.5% 0.038 325.9)

  4. Step 300

    300

    #D9B1D9

    oklch(80.8% 0.071 326.2)

  5. Step 400

    400

    #C587C6

    oklch(70.6% 0.113 326.2)

  6. Step 500

    500

    #B568B7

    oklch(63.1% 0.142 326.2)

  7. Step 600

    600

    #A04DA3

    oklch(55.6% 0.155 326.1)

  8. Step 700

    700

    #893E8B

    oklch(49.2% 0.143 326.5)

  9. Step 800

    800

    #6F3371

    oklch(42.6% 0.12 326.2)

  10. Step 900

    900

    #5A2E5B

    oklch(37.7% 0.092 326.4)

  11. Step 950

    950 (this color)

    #170218

    oklch(15.1% 0.059 326.3)

Export this scale for Tailwind in the Tailwind colors tool

#170218 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)#0008190.063
Deuteranopia (no green cones)#050B170.054
Tritanopia (no blue cones)#18040B0.033
Achromatopsia (no color)#0A0A0A0.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #170218

    #170218

    oklch(15.1% 0.059 326.3)

  • #001002

    #001002

    oklch(15.1% 0.045 147)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170218

    #170218

    oklch(15.1% 0.059 326.3)

  • #0E0421

    #0E0421

    oklch(14.9% 0.06 295.5)

  • #1C010C

    #1C010C

    oklch(15.1% 0.057 356.2)

Open the analogous palette in the generator

Split complementary

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

  • #170218

    #170218

    oklch(15.1% 0.059 326.3)

  • #0B0D00

    #0B0D00

    oklch(15.2% 0.034 115.4)

  • #000F0B

    #000F0B

    oklch(15.1% 0.028 177)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170218

    #170218

    oklch(15.1% 0.059 326.3)

  • #110A00

    #110A00

    oklch(15% 0.031 85.7)

  • #000E11

    #000E11

    oklch(15% 0.026 209.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170218

    #170218

    oklch(15.1% 0.059 326.3)

  • #170700

    #170700

    oklch(15.2% 0.037 56.7)

  • #001002

    #001002

    oklch(15.1% 0.045 147)

  • #000D17

    #000D17

    oklch(15% 0.032 236.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #170218 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.