#6F40CB

Closest named color: Bluey Purple (#6241C7). oklch(50.7% 0.203 293.3), rgb(111, 64, 203).

Aa

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

About this color

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

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

Values

HEX#6F40CB
RGBrgb(111, 64, 203)
HSLhsl(260, 57%, 52%)
OKLCHoklch(50.7% 0.203 293.3)

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 #6F40CB 6.41:1 AA Lc -86.4 Fine for body text
Black text on #6F40CB 3.27:1 AA large text Lc 22.8 Dividers and decoration only
#6F40CB text on white 6.41:1 AA Lc 81.2 Fine for body text
#6F40CB text on black 3.27:1 AA large text Lc -20.6 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

    #DAD3FB

    oklch(88.5% 0.055 293.3)

  4. Step 300

    300

    #C3B5FB

    oklch(81% 0.098 293.2)

  5. Step 400

    400

    #A68BF8

    oklch(70.7% 0.156 293.4)

  6. Step 500

    500

    #9269F5

    oklch(63.1% 0.201 293.3)

  7. Step 600

    600

    #7E4BE3

    oklch(55.5% 0.217 293.4)

  8. Step 700

    700 (this color)

    #6F40CB

    oklch(50.7% 0.203 293.3)

  9. Step 800

    800

    #5732A0

    oklch(42.7% 0.168 293.5)

  10. Step 900

    900

    #472E7F

    oklch(37.8% 0.131 293.4)

  11. Step 950

    950

    #291C4A

    oklch(27% 0.082 293.1)

Export this scale for Tailwind in the Tailwind colors tool

#6F40CB 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)#0060CF0.120
Deuteranopia (no green cones)#005CC80.119
Tritanopia (no blue cones)#5462800.160
Achromatopsia (no color)#5F5F5F0.204

Harmonies

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

Complementary

The opposite hue (180°).

  • #6F40CB

    #6F40CB

    oklch(50.7% 0.203 293.3)

  • #666B00

    #666B00

    oklch(50.6% 0.113 113)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6F40CB

    #6F40CB

    oklch(50.7% 0.203 293.3)

  • #2258D6

    #2258D6

    oklch(50.6% 0.202 263.4)

  • #9829A5

    #9829A5

    oklch(50.5% 0.202 323.3)

Open the analogous palette in the generator

Split complementary

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

  • #6F40CB

    #6F40CB

    oklch(50.7% 0.203 293.3)

  • #825F00

    #825F00

    oklch(50.8% 0.104 83.4)

  • #007B0E

    #007B0E

    oklch(50.6% 0.168 143.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6F40CB

    #6F40CB

    oklch(50.7% 0.203 293.3)

  • #9C4C00

    #9C4C00

    oklch(50.7% 0.129 53.2)

  • #007760

    #007760

    oklch(50.7% 0.097 173)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6F40CB

    #6F40CB

    oklch(50.7% 0.203 293.3)

  • #BE0526

    #BE0526

    oklch(50.7% 0.203 23.2)

  • #666B00

    #666B00

    oklch(50.6% 0.113 113)

  • #00737B

    #00737B

    oklch(50.6% 0.086 203.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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