#170518

Closest named color: Almost Black (#070D0D). oklch(15.9% 0.048 325.6), rgb(23, 5, 24).

Aa

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

About this color

#170518 is a very dark, muted purple. In OKLCH its lightness is 16%, its chroma 0.048 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.056 away. White text reads best on it, at 19.60:1.

Hue familyPurples
Lightnessvery dark (16%)
Chromamuted (0.048)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.07:1
White text19.60:1

Values

HEX#170518
RGBrgb(23, 5, 24)
HSLhsl(297, 66%, 6%)
OKLCHoklch(15.9% 0.048 325.6)

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 #170518 19.60:1 AAA Lc -107.6 Preferred for body text
Black text on #170518 1.07:1 Fails Lc 0.0 Not readable
#170518 text on white 19.60:1 AAA Lc 105.6 Preferred for body text
#170518 text on black 1.07: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

    #F8F4F8

    oklch(97.1% 0.007 325.6)

  2. Step 100

    100

    #F0E6F0

    oklch(93.6% 0.017 325.7)

  3. Step 200

    200

    #E5D2E5

    oklch(88.5% 0.033 325.9)

  4. Step 300

    300

    #D5B4D5

    oklch(80.9% 0.058 326.1)

  5. Step 400

    400

    #BE8DC0

    oklch(70.7% 0.091 325.2)

  6. Step 500

    500

    #AD6FB0

    oklch(63% 0.118 325.2)

  7. Step 600

    600

    #98569B

    oklch(55.5% 0.127 325.5)

  8. Step 700

    700

    #824685

    oklch(49.1% 0.119 325.4)

  9. Step 800

    800

    #6A3A6C

    oklch(42.8% 0.098 325.7)

  10. Step 900

    900

    #563257

    oklch(37.6% 0.076 326)

  11. Step 950

    950 (this color)

    #170518

    oklch(15.9% 0.048 325.6)

Export this scale for Tailwind in the Tailwind colors tool

#170518 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)#030A190.049
Deuteranopia (no green cones)#080D170.043
Tritanopia (no blue cones)#18070D0.027
Achromatopsia (no color)#0C0C0C0.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #170518

    #170518

    oklch(15.9% 0.048 325.6)

  • #001202

    #001202

    oklch(15.9% 0.048 146.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170518

    #170518

    oklch(15.9% 0.048 325.6)

  • #0F081F

    #0F081F

    oklch(16% 0.047 294.7)

  • #1C040E

    #1C040E

    oklch(16% 0.047 355.8)

Open the analogous palette in the generator

Split complementary

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

  • #170518

    #170518

    oklch(15.9% 0.048 325.6)

  • #0C0F00

    #0C0F00

    oklch(15.9% 0.037 117.5)

  • #00110C

    #00110C

    oklch(15.9% 0.03 174.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170518

    #170518

    oklch(15.9% 0.048 325.6)

  • #130C00

    #130C00

    oklch(15.9% 0.033 87.5)

  • #001013

    #001013

    oklch(15.8% 0.027 208.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170518

    #170518

    oklch(15.9% 0.048 325.6)

  • #190800

    #190800

    oklch(15.9% 0.039 56.9)

  • #001202

    #001202

    oklch(15.9% 0.048 146.3)

  • #000F19

    #000F19

    oklch(15.9% 0.033 234.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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