#6A2158

Closest named color: Velvet (#750851). oklch(38.1% 0.123 338.9), rgb(106, 33, 88).

Aa

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

About this color

#6A2158 is a dark, moderately saturated purple. In OKLCH its lightness is 38%, its chroma 0.123 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Velvet (#750851), ΔE 0.035 away. White text reads best on it, at 10.65:1.

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.123)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text1.97:1
White text10.65:1

Values

HEX#6A2158
RGBrgb(106, 33, 88)
HSLhsl(315, 53%, 27%)
OKLCHoklch(38.1% 0.123 338.9)

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 #6A2158 10.65:1 AAA Lc -98.0 Preferred for body text
Black text on #6A2158 1.97:1 Fails Lc 10.0 Not readable
#6A2158 text on white 10.65:1 AAA Lc 94.0 Preferred for body text
#6A2158 text on black 1.97:1 Fails Lc -8.6 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

    #FCF2F8

    oklch(97.1% 0.013 340.5)

  2. Step 100

    100

    #F7E3F0

    oklch(93.6% 0.028 338.6)

  3. Step 200

    200

    #F1CDE5

    oklch(88.6% 0.051 338.4)

  4. Step 300

    300

    #E9AAD5

    oklch(81% 0.092 338.7)

  5. Step 400

    400

    #DB79BF

    oklch(70.7% 0.148 338.8)

  6. Step 500

    500

    #CF52AF

    oklch(63.2% 0.189 338.9)

  7. Step 600

    600

    #BA2F9A

    oklch(55.6% 0.205 339)

  8. Step 700

    700

    #A01F84

    oklch(49.2% 0.192 338.9)

  9. Step 800

    800

    #821D6B

    oklch(42.7% 0.159 339)

  10. Step 900

    900 (this color)

    #6A2158

    oklch(38.1% 0.123 338.9)

  11. Step 950

    950

    #3E1433

    oklch(27.1% 0.079 339.1)

Export this scale for Tailwind in the Tailwind colors tool

#6A2158 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)#24375A0.133
Deuteranopia (no green cones)#3B42560.116
Tritanopia (no blue cones)#7024390.058
Achromatopsia (no color)#3E3E3E0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #6A2158

    #6A2158

    oklch(38.1% 0.123 338.9)

  • #005031

    #005031

    oklch(38% 0.087 159.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6A2158

    #6A2158

    oklch(38.1% 0.123 338.9)

  • #562B73

    #562B73

    oklch(38.1% 0.123 309.3)

  • #751C35

    #751C35

    oklch(38.1% 0.123 8.7)

Open the analogous palette in the generator

Split complementary

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

  • #6A2158

    #6A2158

    oklch(38.1% 0.123 338.9)

  • #314C00

    #314C00

    oklch(38% 0.101 129.1)

  • #004E4A

    #004E4A

    oklch(38.2% 0.066 188.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6A2158

    #6A2158

    oklch(38.1% 0.123 338.9)

  • #4D4300

    #4D4300

    oklch(38.1% 0.079 99.6)

  • #004B5B

    #004B5B

    oklch(38.1% 0.069 218.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6A2158

    #6A2158

    oklch(38.1% 0.123 338.9)

  • #5F3900

    #5F3900

    oklch(38.2% 0.083 68.7)

  • #005031

    #005031

    oklch(38% 0.087 159.2)

  • #004577

    #004577

    oklch(38.2% 0.104 248.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6A2158 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.