#514158

Closest named color: Charcoal Grey (#3C4142). oklch(40.1% 0.043 315.5), rgb(81, 65, 88).

Aa

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

About this color

#514158 is a dark, muted purple. In OKLCH its lightness is 40%, its chroma 0.043 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Charcoal Grey (#3C4142), ΔE 0.054 away. White text reads best on it, at 9.34:1.

Hue familyPurples
Lightnessdark (40%)
Chromamuted (0.043)
Temperaturein between
Nearest nameCharcoal Grey (#3C4142)
Black text2.24:1
White text9.34:1

Values

HEX#514158
RGBrgb(81, 65, 88)
HSLhsl(282, 15%, 30%)
OKLCHoklch(40.1% 0.043 315.5)

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 #514158 9.34:1 AAA Lc -95.9 Preferred for body text
Black text on #514158 2.24:1 Fails Lc 12.4 Not readable
#514158 text on white 9.34:1 AAA Lc 91.6 Preferred for body text
#514158 text on black 2.24:1 Fails Lc -10.8 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 900.

  1. Step 50

    50

    #F6F5F7

    oklch(97.1% 0.003 308.4)

  2. Step 100

    100

    #ECE8EE

    oklch(93.6% 0.009 314.8)

  3. Step 200

    200

    #DED6E1

    oklch(88.6% 0.017 316.9)

  4. Step 300

    300

    #C9BBCF

    oklch(81% 0.032 315.9)

  5. Step 400

    400

    #AD97B7

    oklch(70.6% 0.052 315.3)

  6. Step 500

    500

    #997EA5

    oklch(63.2% 0.065 315.3)

  7. Step 600

    600

    #846690

    oklch(55.6% 0.073 316.1)

  8. Step 700

    700

    #6F557B

    oklch(49.1% 0.067 314.9)

  9. Step 800

    800

    #5B4664

    oklch(42.8% 0.055 315.6)

  10. Step 900

    900 (this color)

    #514158

    oklch(40.1% 0.043 315.5)

  11. Step 950

    950

    #2C2230

    oklch(27% 0.029 316.2)

Export this scale for Tailwind in the Tailwind colors tool

#514158 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)#3E46590.033
Deuteranopia (no green cones)#4147570.031
Tritanopia (no blue cones)#5144490.030
Achromatopsia (no color)#4747470.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #514158

    #514158

    oklch(40.1% 0.043 315.5)

  • #3E4D36

    #3E4D36

    oklch(40% 0.042 134.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #514158

    #514158

    oklch(40.1% 0.043 315.5)

  • #45455F

    #45455F

    oklch(40.1% 0.044 284.3)

  • #593F4D

    #593F4D

    oklch(40.1% 0.042 345.6)

Open the analogous palette in the generator

Split complementary

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

  • #514158

    #514158

    oklch(40.1% 0.043 315.5)

  • #4B4A2E

    #4B4A2E

    oklch(40.2% 0.043 106.5)

  • #315042

    #315042

    oklch(40.2% 0.044 164.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #514158

    #514158

    oklch(40.1% 0.043 315.5)

  • #56452D

    #56452D

    oklch(40.2% 0.044 75.6)

  • #2A4F4F

    #2A4F4F

    oklch(40% 0.043 195.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #514158

    #514158

    oklch(40.1% 0.043 315.5)

  • #5C4134

    #5C4134

    oklch(40.2% 0.043 46.7)

  • #3E4D36

    #3E4D36

    oklch(40% 0.042 134.9)

  • #2D4D5A

    #2D4D5A

    oklch(40.1% 0.044 225.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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