#5F498C

Closest named color: Twilight (#4E518B). oklch(46% 0.108 297.1), rgb(95, 73, 140).

Aa

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

About this color

#5F498C is a medium-dark, moderately saturated purple. In OKLCH its lightness is 46%, its chroma 0.108 and its hue 297°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.033 away. White text reads best on it, at 7.45:1.

Hue familyPurples
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.108)
Temperaturein between
Nearest nameTwilight (#4E518B)
Black text2.81:1
White text7.45:1

Values

HEX#5F498C
RGBrgb(95, 73, 140)
HSLhsl(260, 31%, 42%)
OKLCHoklch(46% 0.108 297.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 #5F498C 7.45:1 AAA Lc -90.6 Preferred for body text
Black text on #5F498C 2.81:1 Fails Lc 18.3 Dividers and decoration only
#5F498C text on white 7.45:1 AAA Lc 85.7 Fine for body text
#5F498C text on black 2.81:1 Fails Lc -16.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

    #F6F4FA

    oklch(97% 0.008 301.4)

  2. Step 100

    100

    #EBE8F3

    oklch(93.7% 0.015 298.6)

  3. Step 200

    200

    #DBD6EA

    oklch(88.6% 0.028 297.3)

  4. Step 300

    300

    #C4BADF

    oklch(80.9% 0.053 297.6)

  5. Step 400

    400

    #A696CF

    oklch(70.8% 0.084 297.1)

  6. Step 500

    500

    #907BC2

    oklch(63.1% 0.107 296.8)

  7. Step 600

    600

    #7B63AE

    oklch(55.6% 0.116 297.2)

  8. Step 700

    700 (this color)

    #5F498C

    oklch(46% 0.108 297.1)

  9. Step 800

    800

    #554379

    oklch(42.7% 0.089 297.9)

  10. Step 900

    900

    #463962

    oklch(37.7% 0.07 297.6)

  11. Step 950

    950

    #292239

    oklch(27.1% 0.043 297.5)

Export this scale for Tailwind in the Tailwind colors tool

#5F498C 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)#34558E0.066
Deuteranopia (no green cones)#38548A0.062
Tritanopia (no blue cones)#5555640.084
Achromatopsia (no color)#5555550.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #5F498C

    #5F498C

    oklch(46% 0.108 297.1)

  • #545F00

    #545F00

    oklch(46% 0.106 117.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5F498C

    #5F498C

    oklch(46% 0.108 297.1)

  • #3D5494

    #3D5494

    oklch(46% 0.108 267.2)

  • #774077

    #774077

    oklch(46% 0.108 327.2)

Open the analogous palette in the generator

Split complementary

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

  • #5F498C

    #5F498C

    oklch(46% 0.108 297.1)

  • #6E5400

    #6E5400

    oklch(46% 0.094 87.8)

  • #266832

    #266832

    oklch(46.1% 0.108 147.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5F498C

    #5F498C

    oklch(46% 0.108 297.1)

  • #834507

    #834507

    oklch(45.8% 0.107 56.9)

  • #006757

    #006757

    oklch(45.9% 0.085 177.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5F498C

    #5F498C

    oklch(46% 0.108 297.1)

  • #8A3C36

    #8A3C36

    oklch(45.9% 0.108 26.6)

  • #545F00

    #545F00

    oklch(46% 0.106 117.3)

  • #00646E

    #00646E

    oklch(46% 0.079 206.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5F498C 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.