#6B508F

Closest named color: Twilight (#4E518B). oklch(48.7% 0.102 302.5), rgb(107, 80, 143).

Aa

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

About this color

#6B508F is a medium-dark, moderately saturated purple. In OKLCH its lightness is 49%, its chroma 0.102 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.048 away. White text reads best on it, at 6.62:1.

Hue familyPurples
Lightnessmedium-dark (49%)
Chromamoderately saturated (0.102)
Temperaturein between
Nearest nameTwilight (#4E518B)
Black text3.16:1
White text6.62:1

Values

HEX#6B508F
RGBrgb(107, 80, 143)
HSLhsl(266, 28%, 44%)
OKLCHoklch(48.7% 0.102 302.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 #6B508F 6.62:1 AA Lc -87.7 Fine for body text
Black text on #6B508F 3.16:1 AA large text Lc 21.4 Dividers and decoration only
#6B508F text on white 6.62:1 AA Lc 82.6 Fine for body text
#6B508F text on black 3.16:1 AA large text Lc -19.3 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

    #F6F4F9

    oklch(97% 0.007 304.2)

  2. Step 100

    100

    #EBE8F2

    oklch(93.6% 0.014 299.8)

  3. Step 200

    200

    #DCD5E9

    oklch(88.5% 0.028 301.7)

  4. Step 300

    300

    #C6BADC

    oklch(81% 0.049 301.4)

  5. Step 400

    400

    #AA95CA

    oklch(70.7% 0.079 302.5)

  6. Step 500

    500

    #957ABC

    oklch(63% 0.101 302.4)

  7. Step 600

    600

    #8062A8

    oklch(55.5% 0.11 302.7)

  8. Step 700

    700 (this color)

    #6B508F

    oklch(48.7% 0.102 302.5)

  9. Step 800

    800

    #584375

    oklch(42.7% 0.084 302.4)

  10. Step 900

    900

    #48395E

    oklch(37.7% 0.064 302.1)

  11. Step 950

    950

    #2A2137

    oklch(26.9% 0.042 302.5)

Export this scale for Tailwind in the Tailwind colors tool

#6B508F 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)#405C910.068
Deuteranopia (no green cones)#465C8D0.063
Tritanopia (no blue cones)#655B680.079
Achromatopsia (no color)#5D5D5D0.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #6B508F

    #6B508F

    oklch(48.7% 0.102 302.5)

  • #55681D

    #55681D

    oklch(48.6% 0.102 122.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6B508F

    #6B508F

    oklch(48.7% 0.102 302.5)

  • #4C5A99

    #4C5A99

    oklch(48.6% 0.103 272.6)

  • #814879

    #814879

    oklch(48.7% 0.103 332.3)

Open the analogous palette in the generator

Split complementary

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

  • #6B508F

    #6B508F

    oklch(48.7% 0.102 302.5)

  • #735D00

    #735D00

    oklch(48.6% 0.1 92.7)

  • #287042

    #287042

    oklch(48.8% 0.103 152.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6B508F

    #6B508F

    oklch(48.7% 0.102 302.5)

  • #885114

    #885114

    oklch(48.8% 0.102 62.7)

  • #006F64

    #006F64

    oklch(48.6% 0.087 183.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6B508F

    #6B508F

    oklch(48.7% 0.102 302.5)

  • #904739

    #904739

    oklch(48.6% 0.102 32.2)

  • #55681D

    #55681D

    oklch(48.6% 0.102 122.6)

  • #006C7C

    #006C7C

    oklch(48.8% 0.085 212.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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