#27174B

Closest named color: Dark Indigo (#1F0954). oklch(25.9% 0.092 293.1), rgb(39, 23, 75).

Aa

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

About this color

#27174B is a dark, moderately saturated purple. In OKLCH its lightness is 26%, its chroma 0.092 and its hue 293°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Indigo (#1F0954), ΔE 0.038 away. White text reads best on it, at 16.02:1.

Hue familyPurples
Lightnessdark (26%)
Chromamoderately saturated (0.092)
Temperaturein between
Nearest nameDark Indigo (#1F0954)
Black text1.31:1
White text16.02:1

Values

HEX#27174B
RGBrgb(39, 23, 75)
HSLhsl(258, 53%, 19%)
OKLCHoklch(25.9% 0.092 293.1)

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 #27174B 16.02:1 AAA Lc -105.3 Preferred for body text
Black text on #27174B 1.31:1 Fails Lc 0.0 Not readable
#27174B text on white 16.02:1 AAA Lc 102.7 Preferred for body text
#27174B text on black 1.31: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

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #EAE6FE

    oklch(93.5% 0.032 293.4)

  3. Step 200

    200

    #DAD2FE

    oklch(88.4% 0.061 293.5)

  4. Step 300

    300

    #C3B4FF

    oklch(80.9% 0.105 293.1)

  5. Step 400

    400

    #A689FF

    oklch(70.7% 0.169 292.9)

  6. Step 500

    500

    #9364FF

    oklch(63.1% 0.22 293)

  7. Step 600

    600

    #8042F0

    oklch(55.7% 0.242 293.1)

  8. Step 700

    700

    #6C31D1

    oklch(49.1% 0.225 292.9)

  9. Step 800

    800

    #582BA9

    oklch(42.7% 0.187 293.1)

  10. Step 900

    900

    #482A85

    oklch(37.7% 0.144 293.4)

  11. Step 950

    950 (this color)

    #27174B

    oklch(25.9% 0.092 293.1)

Export this scale for Tailwind in the Tailwind colors tool

#27174B 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)#00224D0.057
Deuteranopia (no green cones)#00204A0.057
Tritanopia (no blue cones)#1D232E0.073
Achromatopsia (no color)#2121210.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #27174B

    #27174B

    oklch(25.9% 0.092 293.1)

  • #242600

    #242600

    oklch(25.8% 0.057 112.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #27174B

    #27174B

    oklch(25.9% 0.092 293.1)

  • #0A204F

    #0A204F

    oklch(25.9% 0.091 262.8)

  • #380F3D

    #380F3D

    oklch(26% 0.093 323.2)

Open the analogous palette in the generator

Split complementary

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

  • #27174B

    #27174B

    oklch(25.9% 0.092 293.1)

  • #302100

    #302100

    oklch(25.9% 0.053 83.5)

  • #002D01

    #002D01

    oklch(25.8% 0.086 142.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #27174B

    #27174B

    oklch(25.9% 0.092 293.1)

  • #3B1900

    #3B1900

    oklch(25.9% 0.065 53.7)

  • #002B21

    #002B21

    oklch(25.8% 0.05 172.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #27174B

    #27174B

    oklch(25.9% 0.092 293.1)

  • #46080D

    #46080D

    oklch(25.8% 0.091 22.7)

  • #242600

    #242600

    oklch(25.8% 0.057 112.7)

  • #002A2D

    #002A2D

    oklch(25.9% 0.044 202.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #27174B 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.