#6D38AD

Closest named color: Rebecca Purple (#663399). oklch(47% 0.178 300.4), rgb(109, 56, 173).

Aa

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

About this color

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

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

Values

HEX#6D38AD
RGBrgb(109, 56, 173)
HSLhsl(267, 51%, 45%)
OKLCHoklch(47% 0.178 300.4)

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 #6D38AD 7.44:1 AAA Lc -90.1 Preferred for body text
Black text on #6D38AD 2.81:1 Fails Lc 18.7 Dividers and decoration only
#6D38AD text on white 7.44:1 AAA Lc 85.3 Fine for body text
#6D38AD text on black 2.81:1 Fails Lc -16.7 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #ECE6F8

    oklch(93.5% 0.025 301.1)

  3. Step 200

    200

    #DED3F5

    oklch(88.6% 0.048 300.2)

  4. Step 300

    300

    #C9B4F0

    oklch(80.8% 0.086 300.5)

  5. Step 400

    400

    #AF8BE9

    oklch(70.7% 0.138 300.6)

  6. Step 500

    500

    #9C6BE2

    oklch(63.2% 0.176 300.5)

  7. Step 600

    600

    #874FD0

    oklch(55.6% 0.191 300.2)

  8. Step 700

    700 (this color)

    #6D38AD

    oklch(47% 0.178 300.4)

  9. Step 800

    800

    #5D3592

    oklch(42.7% 0.147 300)

  10. Step 900

    900

    #4C2F74

    oklch(37.6% 0.115 300.4)

  11. Step 950

    950

    #2C1C44

    oklch(26.9% 0.073 300)

Export this scale for Tailwind in the Tailwind colors tool

#6D38AD 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)#0055B10.128
Deuteranopia (no green cones)#0054AB0.129
Tritanopia (no blue cones)#5F536E0.133
Achromatopsia (no color)#5555550.179

Harmonies

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

Complementary

The opposite hue (180°).

  • #6D38AD

    #6D38AD

    oklch(47% 0.178 300.4)

  • #536300

    #536300

    oklch(46.9% 0.112 120.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6D38AD

    #6D38AD

    oklch(47% 0.178 300.4)

  • #384CBD

    #384CBD

    oklch(47.1% 0.178 270.4)

  • #8E2688

    #8E2688

    oklch(47% 0.177 330.5)

Open the analogous palette in the generator

Split complementary

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

  • #6D38AD

    #6D38AD

    oklch(47% 0.178 300.4)

  • #705800

    #705800

    oklch(47.1% 0.096 90.3)

  • #006E31

    #006E31

    oklch(47.1% 0.129 150.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6D38AD

    #6D38AD

    oklch(47% 0.178 300.4)

  • #864900

    #864900

    oklch(47% 0.11 60.2)

  • #006A5D

    #006A5D

    oklch(47% 0.085 180.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6D38AD

    #6D38AD

    oklch(47% 0.178 300.4)

  • #A81A0A

    #A81A0A

    oklch(47.1% 0.178 30.5)

  • #536300

    #536300

    oklch(46.9% 0.112 120.1)

  • #006774

    #006774

    oklch(47.1% 0.081 209.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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