#6E40C0

Closest named color: Bluey Purple (#6241C7). oklch(49.7% 0.19 295.1), rgb(110, 64, 192).

Aa

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

About this color

#6E40C0 is a medium-dark, vivid purple. In OKLCH its lightness is 50%, its chroma 0.190 and its hue 295°. 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.65:1.

Hue familyPurples
Lightnessmedium-dark (50%)
Chromavivid (0.190)
Temperaturein between
Nearest nameBluey Purple (#6241C7)
Black text3.15:1
White text6.65:1

Values

HEX#6E40C0
RGBrgb(110, 64, 192)
HSLhsl(262, 50%, 50%)
OKLCHoklch(49.7% 0.19 295.1)

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 #6E40C0 6.65:1 AA Lc -87.3 Fine for body text
Black text on #6E40C0 3.15:1 AA large text Lc 21.8 Dividers and decoration only
#6E40C0 text on white 6.65:1 AA Lc 82.3 Fine for body text
#6E40C0 text on black 3.15:1 AA large text Lc -19.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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EBE7FA

    oklch(93.7% 0.026 295.5)

  3. Step 200

    200

    #DBD3F8

    oklch(88.5% 0.051 295.2)

  4. Step 300

    300

    #C4B5F6

    oklch(80.8% 0.092 294.8)

  5. Step 400

    400

    #A88CF2

    oklch(70.7% 0.147 295)

  6. Step 500

    500

    #946BED

    oklch(63.1% 0.188 295)

  7. Step 600

    600

    #804FDB

    oklch(55.7% 0.203 295.1)

  8. Step 700

    700 (this color)

    #6E40C0

    oklch(49.7% 0.19 295.1)

  9. Step 800

    800

    #58349A

    oklch(42.7% 0.158 295.1)

  10. Step 900

    900

    #482F7A

    oklch(37.6% 0.122 295.3)

  11. Step 950

    950

    #2A1C48

    oklch(26.9% 0.079 295.3)

Export this scale for Tailwind in the Tailwind colors tool

#6E40C0 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)#005DC40.120
Deuteranopia (no green cones)#005ABD0.120
Tritanopia (no blue cones)#585F7B0.148
Achromatopsia (no color)#5C5C5C0.191

Harmonies

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

Complementary

The opposite hue (180°).

  • #6E40C0

    #6E40C0

    oklch(49.7% 0.19 295.1)

  • #616900

    #616900

    oklch(49.7% 0.112 114.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6E40C0

    #6E40C0

    oklch(49.7% 0.19 295.1)

  • #2C56CC

    #2C56CC

    oklch(49.7% 0.189 265.1)

  • #942C9C

    #942C9C

    oklch(49.7% 0.19 324.9)

Open the analogous palette in the generator

Split complementary

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

  • #6E40C0

    #6E40C0

    oklch(49.7% 0.19 295.1)

  • #7D5D00

    #7D5D00

    oklch(49.8% 0.102 85.1)

  • #00781E

    #00781E

    oklch(49.8% 0.156 145.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6E40C0

    #6E40C0

    oklch(49.7% 0.19 295.1)

  • #964B00

    #964B00

    oklch(49.7% 0.123 54.7)

  • #00735F

    #00735F

    oklch(49.6% 0.094 175)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6E40C0

    #6E40C0

    oklch(49.7% 0.19 295.1)

  • #B61723

    #B61723

    oklch(49.8% 0.19 25)

  • #616900

    #616900

    oklch(49.7% 0.112 114.9)

  • #007079

    #007079

    oklch(49.7% 0.085 204.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #6E40C0.

Similar named colors

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

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