#6A1F52

Closest named color: Velvet (#750851). oklch(37.6% 0.122 342.9), rgb(106, 31, 82).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (38%)
Chromamoderately saturated (0.122)
Temperaturewarm
Nearest nameVelvet (#750851)
Black text1.93:1
White text10.87:1

Values

HEX#6A1F52
RGBrgb(106, 31, 82)
HSLhsl(319, 55%, 27%)
OKLCHoklch(37.6% 0.122 342.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 #6A1F52 10.87:1 AAA Lc -98.4 Preferred for body text
Black text on #6A1F52 1.93:1 Fails Lc 9.5 Not readable
#6A1F52 text on white 10.87:1 AAA Lc 94.4 Preferred for body text
#6A1F52 text on black 1.93:1 Fails Lc -8.2 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

    #F7E3EF

    oklch(93.5% 0.027 340.9)

  3. Step 200

    200

    #F2CCE2

    oklch(88.4% 0.051 342.5)

  4. Step 300

    300

    #EBA9D0

    oklch(80.9% 0.092 343.1)

  5. Step 400

    400

    #DE79B9

    oklch(70.8% 0.146 342.8)

  6. Step 500

    500

    #D251A7

    oklch(63.2% 0.187 343)

  7. Step 600

    600

    #BD2E92

    oklch(55.7% 0.203 343)

  8. Step 700

    700

    #A21E7C

    oklch(49% 0.189 342.9)

  9. Step 800

    800

    #841D65

    oklch(42.7% 0.156 343)

  10. Step 900

    900 (this color)

    #6A1F52

    oklch(37.6% 0.122 342.9)

  11. Step 950

    950

    #3F1430

    oklch(27.1% 0.077 343.6)

Export this scale for Tailwind in the Tailwind colors tool

#6A1F52 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)#2635530.133
Deuteranopia (no green cones)#3C41500.117
Tritanopia (no blue cones)#711F350.053
Achromatopsia (no color)#3D3D3D0.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #6A1F52

    #6A1F52

    oklch(37.6% 0.122 342.9)

  • #004E34

    #004E34

    oklch(37.5% 0.081 162.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6A1F52

    #6A1F52

    oklch(37.6% 0.122 342.9)

  • #57286E

    #57286E

    oklch(37.5% 0.122 313)

  • #741B2E

    #741B2E

    oklch(37.6% 0.122 13.3)

Open the analogous palette in the generator

Split complementary

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

  • #6A1F52

    #6A1F52

    oklch(37.6% 0.122 342.9)

  • #294C00

    #294C00

    oklch(37.5% 0.106 133)

  • #004C4B

    #004C4B

    oklch(37.7% 0.064 193.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6A1F52

    #6A1F52

    oklch(37.6% 0.122 342.9)

  • #494200

    #494200

    oklch(37.4% 0.079 102.7)

  • #00495C

    #00495C

    oklch(37.6% 0.07 222.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6A1F52

    #6A1F52

    oklch(37.6% 0.122 342.9)

  • #5B3900

    #5B3900

    oklch(37.6% 0.08 72.2)

  • #004E34

    #004E34

    oklch(37.5% 0.081 162.7)

  • #00417C

    #00417C

    oklch(37.6% 0.116 253)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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