#6A337D

Closest named color: Rebecca Purple (#663399). oklch(42.6% 0.13 316.6), rgb(106, 51, 125).

Aa

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

About this color

#6A337D is a dark, moderately saturated purple. In OKLCH its lightness is 43%, its chroma 0.130 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.047 away. White text reads best on it, at 8.81:1.

Hue familyPurples
Lightnessdark (43%)
Chromamoderately saturated (0.130)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.38:1
White text8.81:1

Values

HEX#6A337D
RGBrgb(106, 51, 125)
HSLhsl(285, 42%, 35%)
OKLCHoklch(42.6% 0.13 316.6)

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 #6A337D 8.81:1 AAA Lc -94.2 Preferred for body text
Black text on #6A337D 2.38:1 Fails Lc 14.3 Not readable
#6A337D text on white 8.81:1 AAA Lc 89.7 Fine for body text
#6A337D text on black 2.38:1 Fails Lc -12.5 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 800.

  1. Step 50

    50

    #F8F3FA

    oklch(97% 0.011 316.5)

  2. Step 100

    100

    #F0E6F4

    oklch(93.7% 0.021 316.5)

  3. Step 200

    200

    #E5D1EC

    oklch(88.5% 0.042 317.4)

  4. Step 300

    300

    #D5B2E2

    oklch(81% 0.076 316.8)

  5. Step 400

    400

    #BF88D3

    oklch(70.7% 0.122 316.8)

  6. Step 500

    500

    #AE68C7

    oklch(63.1% 0.155 316.6)

  7. Step 600

    600

    #994DB4

    oklch(55.6% 0.169 316.4)

  8. Step 700

    700

    #833D9A

    oklch(49.1% 0.157 317)

  9. Step 800

    800 (this color)

    #6A337D

    oklch(42.6% 0.13 316.6)

  10. Step 900

    900

    #562E65

    oklch(37.7% 0.101 316.1)

  11. Step 950

    950

    #331B3B

    oklch(27% 0.065 317.2)

Export this scale for Tailwind in the Tailwind colors tool

#6A337D 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)#20477F0.120
Deuteranopia (no green cones)#344C7B0.105
Tritanopia (no blue cones)#693F530.084
Achromatopsia (no color)#4A4A4A0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #6A337D

    #6A337D

    oklch(42.6% 0.13 316.6)

  • #285D00

    #285D00

    oklch(42.5% 0.128 136.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6A337D

    #6A337D

    oklch(42.6% 0.13 316.6)

  • #4C3F91

    #4C3F91

    oklch(42.6% 0.13 286.8)

  • #7E2A5D

    #7E2A5D

    oklch(42.7% 0.13 346.6)

Open the analogous palette in the generator

Split complementary

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

  • #6A337D

    #6A337D

    oklch(42.6% 0.13 316.6)

  • #555100

    #555100

    oklch(42.5% 0.091 106.4)

  • #005E44

    #005E44

    oklch(42.7% 0.088 166.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6A337D

    #6A337D

    oklch(42.6% 0.13 316.6)

  • #6A4700

    #6A4700

    oklch(42.6% 0.089 76.7)

  • #005B5C

    #005B5C

    oklch(42.7% 0.073 196.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6A337D

    #6A337D

    oklch(42.6% 0.13 316.6)

  • #813400

    #813400

    oklch(42.6% 0.119 46.2)

  • #285D00

    #285D00

    oklch(42.5% 0.128 136.6)

  • #005771

    #005771

    oklch(42.6% 0.082 226.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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