#170730

Closest named color: Midnight Purple (#280137). oklch(18.5% 0.077 296), rgb(23, 7, 48).

Aa

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

About this color

#170730 is a very dark, moderately saturated purple. In OKLCH its lightness is 19%, its chroma 0.077 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Midnight Purple (#280137), ΔE 0.044 away. White text reads best on it, at 18.92:1.

Hue familyPurples
Lightnessvery dark (19%)
Chromamoderately saturated (0.077)
Temperaturein between
Nearest nameMidnight Purple (#280137)
Black text1.10:1
White text18.92:1

Values

HEX#170730
RGBrgb(23, 7, 48)
HSLhsl(263, 75%, 11%)
OKLCHoklch(18.5% 0.077 296)

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 #170730 18.92:1 AAA Lc -107.2 Preferred for body text
Black text on #170730 1.10:1 Fails Lc 0.0 Not readable
#170730 text on white 18.92:1 AAA Lc 105.1 Preferred for body text
#170730 text on black 1.10: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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7FA

    oklch(93.7% 0.026 295.5)

  3. Step 200

    200

    #DBD3F8

    oklch(88.5% 0.051 295.2)

  4. Step 300

    300

    #C5B5F5

    oklch(80.9% 0.091 295.8)

  5. Step 400

    400

    #A98CF0

    oklch(70.7% 0.145 295.8)

  6. Step 500

    500

    #966BEB

    oklch(63.1% 0.186 296.2)

  7. Step 600

    600

    #814ED9

    oklch(55.5% 0.202 296)

  8. Step 700

    700

    #6E3EBC

    oklch(49.1% 0.188 296.3)

  9. Step 800

    800

    #593498

    oklch(42.6% 0.156 296.2)

  10. Step 900

    900

    #492F79

    oklch(37.7% 0.121 296.3)

  11. Step 950

    950 (this color)

    #170730

    oklch(18.5% 0.077 296)

Export this scale for Tailwind in the Tailwind colors tool

#170730 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)#0011310.048
Deuteranopia (no green cones)#00102F0.048
Tritanopia (no blue cones)#10111A0.059
Achromatopsia (no color)#1111110.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #170730

    #170730

    oklch(18.5% 0.077 296)

  • #121500

    #121500

    oklch(18.6% 0.043 116.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #170730

    #170730

    oklch(18.5% 0.077 296)

  • #040E34

    #040E34

    oklch(18.5% 0.077 265.9)

  • #230324

    #230324

    oklch(18.7% 0.076 326.8)

Open the analogous palette in the generator

Split complementary

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

  • #170730

    #170730

    oklch(18.5% 0.077 296)

  • #1A1100

    #1A1100

    oklch(18.4% 0.038 85.8)

  • #001903

    #001903

    oklch(18.6% 0.057 146.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #170730

    #170730

    oklch(18.5% 0.077 296)

  • #210C00

    #210C00

    oklch(18.4% 0.045 55.9)

  • #001812

    #001812

    oklch(18.7% 0.035 174.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #170730

    #170730

    oklch(18.5% 0.077 296)

  • #2C0002

    #2C0002

    oklch(18.5% 0.075 25.1)

  • #121500

    #121500

    oklch(18.6% 0.043 116.2)

  • #00171A

    #00171A

    oklch(18.7% 0.032 205.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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