#6158A1

Closest named color: Dusky Blue (#475F94). oklch(50.3% 0.114 287.2), rgb(97, 88, 161).

Aa

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

About this color

#6158A1 is a medium-dark, moderately saturated purple. In OKLCH its lightness is 50%, its chroma 0.114 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Dusky Blue (#475F94), ΔE 0.047 away. White text reads best on it, at 6.14:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest nameDusky Blue (#475F94)
Black text3.41:1
White text6.14:1

Values

HEX#6158A1
RGBrgb(97, 88, 161)
HSLhsl(247, 29%, 49%)
OKLCHoklch(50.3% 0.114 287.2)

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 #6158A1 6.14:1 AA Lc -85.7 Fine for body text
Black text on #6158A1 3.41:1 AA large text Lc 23.5 Dividers and decoration only
#6158A1 text on white 6.14:1 AA Lc 80.5 Fine for body text
#6158A1 text on black 3.41:1 AA large text Lc -21.3 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E9E8F4

    oklch(93.5% 0.016 289.9)

  3. Step 200

    200

    #D7D6ED

    oklch(88.4% 0.031 287.7)

  4. Step 300

    300

    #BEBCE3

    oklch(81% 0.055 287.5)

  5. Step 400

    400

    #9D98D5

    oklch(70.7% 0.088 287.7)

  6. Step 500

    500

    #857ECA

    oklch(63.1% 0.113 286.9)

  7. Step 600

    600

    #7066B6

    oklch(55.6% 0.122 287.5)

  8. Step 700

    700 (this color)

    #6158A1

    oklch(50.3% 0.114 287.2)

  9. Step 800

    800

    #4C457F

    oklch(42.6% 0.094 287.2)

  10. Step 900

    900

    #3F3B66

    oklch(37.7% 0.072 286.6)

  11. Step 950

    950

    #25233C

    oklch(27.1% 0.046 286.6)

Export this scale for Tailwind in the Tailwind colors tool

#6158A1 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)#3E63A40.051
Deuteranopia (no green cones)#3D609F0.051
Tritanopia (no blue cones)#4F66750.095
Achromatopsia (no color)#6262620.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #6158A1

    #6158A1

    oklch(50.3% 0.114 287.2)

  • #6B6800

    #6B6800

    oklch(50.4% 0.108 107.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6158A1

    #6158A1

    oklch(50.3% 0.114 287.2)

  • #3764A4

    #3764A4

    oklch(50.3% 0.114 257.4)

  • #7E4D8E

    #7E4D8E

    oklch(50.2% 0.114 317.4)

Open the analogous palette in the generator

Split complementary

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

  • #6158A1

    #6158A1

    oklch(50.3% 0.114 287.2)

  • #855B00

    #855B00

    oklch(50.3% 0.105 77.5)

  • #42732D

    #42732D

    oklch(50.4% 0.114 137.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6158A1

    #6158A1

    oklch(50.3% 0.114 287.2)

  • #974D23

    #974D23

    oklch(50.4% 0.113 47.6)

  • #007658

    #007658

    oklch(50.2% 0.102 167.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6158A1

    #6158A1

    oklch(50.3% 0.114 287.2)

  • #9A454C

    #9A454C

    oklch(50.2% 0.114 17.1)

  • #6B6800

    #6B6800

    oklch(50.4% 0.108 107.7)

  • #007375

    #007375

    oklch(50.4% 0.086 196.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #6158A1.

Similar named colors

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

Use #6158A1 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.