#6F42CE

Closest named color: Bluey Purple (#6241C7). oklch(51.2% 0.204 292.5), rgb(111, 66, 206).

Aa

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

About this color

#6F42CE is a medium-dark, vivid purple. In OKLCH its lightness is 51%, its chroma 0.204 and its hue 292°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bluey Purple (#6241C7), ΔE 0.025 away. White text reads best on it, at 6.27:1.

Hue familyPurples
Lightnessmedium-dark (51%)
Chromavivid (0.204)
Temperaturein between
Nearest nameBluey Purple (#6241C7)
Black text3.34:1
White text6.27:1

Values

HEX#6F42CE
RGBrgb(111, 66, 206)
HSLhsl(259, 59%, 53%)
OKLCHoklch(51.2% 0.204 292.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 #6F42CE 6.27:1 AA Lc -85.8 Fine for body text
Black text on #6F42CE 3.34:1 AA large text Lc 23.4 Dividers and decoration only
#6F42CE text on white 6.27:1 AA Lc 80.6 Fine for body text
#6F42CE text on black 3.34:1 AA large text Lc -21.2 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #EAE7FC

    oklch(93.7% 0.028 292.4)

  3. Step 200

    200

    #D9D3FB

    oklch(88.4% 0.055 292.1)

  4. Step 300

    300

    #C2B5FB

    oklch(80.9% 0.098 292.6)

  5. Step 400

    400

    #A58BF9

    oklch(70.7% 0.158 292.8)

  6. Step 500

    500

    #916AF6

    oklch(63.2% 0.201 292.6)

  7. Step 600

    600

    #7C4CE5

    oklch(55.6% 0.219 292.2)

  8. Step 700

    700 (this color)

    #6F42CE

    oklch(51.2% 0.204 292.5)

  9. Step 800

    800

    #5632A1

    oklch(42.7% 0.169 292.7)

  10. Step 900

    900

    #462E80

    oklch(37.7% 0.132 292.4)

  11. Step 950

    950

    #291C4B

    oklch(27.1% 0.084 292.7)

Export this scale for Tailwind in the Tailwind colors tool

#6F42CE 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)#0062D20.118
Deuteranopia (no green cones)#005DCB0.117
Tritanopia (no blue cones)#5265830.162
Achromatopsia (no color)#6060600.205

Harmonies

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

Complementary

The opposite hue (180°).

  • #6F42CE

    #6F42CE

    oklch(51.2% 0.204 292.5)

  • #686C00

    #686C00

    oklch(51.1% 0.113 112.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6F42CE

    #6F42CE

    oklch(51.2% 0.204 292.5)

  • #1E5AD9

    #1E5AD9

    oklch(51.2% 0.204 262.6)

  • #992BA9

    #992BA9

    oklch(51.1% 0.204 322.3)

Open the analogous palette in the generator

Split complementary

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

  • #6F42CE

    #6F42CE

    oklch(51.2% 0.204 292.5)

  • #846000

    #846000

    oklch(51.3% 0.105 82.9)

  • #017D00

    #017D00

    oklch(51.1% 0.174 142.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6F42CE

    #6F42CE

    oklch(51.2% 0.204 292.5)

  • #9F4C00

    #9F4C00

    oklch(51.2% 0.131 52.1)

  • #007860

    #007860

    oklch(51% 0.099 172.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6F42CE

    #6F42CE

    oklch(51.2% 0.204 292.5)

  • #C0072A

    #C0072A

    oklch(51.2% 0.204 22.3)

  • #686C00

    #686C00

    oklch(51.1% 0.113 112.3)

  • #00757C

    #00757C

    oklch(51.2% 0.087 202.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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