#6F38AB

Closest named color: Rebecca Purple (#663399). oklch(47.1% 0.176 302), rgb(111, 56, 171).

Aa

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

About this color

#6F38AB is a medium-dark, vivid purple. In OKLCH its lightness is 47%, its chroma 0.176 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rebecca Purple (#663399), ΔE 0.035 away. White text reads best on it, at 7.42:1.

Hue familyPurples
Lightnessmedium-dark (47%)
Chromavivid (0.176)
Temperaturein between
Nearest nameRebecca Purple (#663399)
Black text2.82:1
White text7.42:1

Values

HEX#6F38AB
RGBrgb(111, 56, 171)
HSLhsl(269, 51%, 45%)
OKLCHoklch(47.1% 0.176 302)

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 #6F38AB 7.42:1 AAA Lc -90.1 Preferred for body text
Black text on #6F38AB 2.82:1 Fails Lc 18.8 Dividers and decoration only
#6F38AB text on white 7.42:1 AAA Lc 85.2 Fine for body text
#6F38AB text on black 2.82:1 Fails Lc -16.8 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #DFD2F4

    oklch(88.5% 0.048 302.8)

  4. Step 300

    300

    #CAB4EF

    oklch(80.9% 0.085 301.6)

  5. Step 400

    400

    #B18BE7

    oklch(70.8% 0.136 302.1)

  6. Step 500

    500

    #9E6AE0

    oklch(63.1% 0.175 302)

  7. Step 600

    600

    #894FCD

    oklch(55.6% 0.188 301.8)

  8. Step 700

    700 (this color)

    #6F38AB

    oklch(47.1% 0.176 302)

  9. Step 800

    800

    #5F3490

    oklch(42.7% 0.147 302)

  10. Step 900

    900

    #4D2F73

    oklch(37.7% 0.114 301.5)

  11. Step 950

    950

    #2D1C43

    oklch(26.9% 0.072 301.9)

Export this scale for Tailwind in the Tailwind colors tool

#6F38AB 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)#0054AE0.131
Deuteranopia (no green cones)#0055A90.133
Tritanopia (no blue cones)#63526D0.130
Achromatopsia (no color)#5555550.177

Harmonies

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

Complementary

The opposite hue (180°).

  • #6F38AB

    #6F38AB

    oklch(47.1% 0.176 302)

  • #516400

    #516400

    oklch(47% 0.114 121.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6F38AB

    #6F38AB

    oklch(47.1% 0.176 302)

  • #3C4BBC

    #3C4BBC

    oklch(47.1% 0.177 271.9)

  • #8F2686

    #8F2686

    oklch(47.1% 0.176 331.7)

Open the analogous palette in the generator

Split complementary

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

  • #6F38AB

    #6F38AB

    oklch(47.1% 0.176 302)

  • #6F5900

    #6F5900

    oklch(47.3% 0.097 92.1)

  • #006E36

    #006E36

    oklch(47.1% 0.124 152.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6F38AB

    #6F38AB

    oklch(47.1% 0.176 302)

  • #854A00

    #854A00

    oklch(47% 0.109 61.6)

  • #006A5F

    #006A5F

    oklch(47.1% 0.084 182.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6F38AB

    #6F38AB

    oklch(47.1% 0.176 302)

  • #A71D04

    #A71D04

    oklch(47% 0.176 31.9)

  • #516400

    #516400

    oklch(47% 0.114 121.7)

  • #006776

    #006776

    oklch(47.2% 0.082 212)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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