#6E1D82#6E1D82

#6E1D82 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.167 H 318.7°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#6E1D82
RGBrgb(110, 29, 130)
HSLhsl(288, 64%, 31%)
HSVhsv(288, 78%, 51%)
CMYKcmyk(15.4%, 77.7%, 0%, 49%)
CIE-LABlab(28.92, 49.30, -39.31)
CIE-LCHlch(28.92, 63.05, 321.43°)
OKLaboklab(40.91% 0.1257 -0.1104)
OKLCHoklch(40.91% 0.167 318.7)
XYZxyz(10.8985, 5.8060, 21.6614)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1D82 #31821D
analogous
#3B1D82 #6E1D82 #821D63
triadic
#6E1D82 #826E1D #1D826E
tetradic
#6E1D82 #823B1D #31821D #1D6382
square
#6E1D82 #823B1D #31821D #1D6382
split-complementary
#6E1D82 #63821D #1D823B
monochromatic
#19071E #441250 #6E1D82 #9828B4 #B944D5

Accessibility & contrast

On white

9.72
#6E1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6E1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1D82
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1D82#FFFFFF#000000##FFFFFF
##6E1D821.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#234780
Tritanopia (blue-blind)
#6E324E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1d82;
/* rgb */ color: rgb(110, 29, 130);
/* oklch */ color: oklch(40.9% 0.167 318.7);
Tailwind
colors: {
  custom: {
    50: '#9b63a7',
    500: '#6e1d82',
    950: '#000000',
  },
}
SCSS
$custom: #6e1d82;
$custom-light: #9b63a7;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1d82",
  "rgb": {
    "r": 110,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 288.119,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40907,
    "c": 0.16734,
    "h": 318.7
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#6E1D82
secondary
#5CB546
accent
#E74162
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #6E1D82

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#6E1D82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva