#6E1A87#6E1A87

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

Color values

HEX#6E1A87
RGBrgb(110, 26, 135)
HSLhsl(286, 68%, 32%)
HSVhsv(286, 81%, 53%)
CMYKcmyk(18.5%, 80.7%, 0%, 47.1%)
CIE-LABlab(28.91, 51.34, -42.45)
CIE-LCHlch(28.91, 66.62, 320.42°)
OKLaboklab(41.02% 0.1277 -0.1196)
OKLCHoklch(41.02% 0.175 316.9)
XYZxyz(11.1723, 5.8035, 23.4487)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A87 #33871A
analogous
#381A87 #6E1A87 #871A6A
triadic
#6E1A87 #876E1A #1A876E
tetradic
#6E1A87 #87381A #33871A #1A6A87
square
#6E1A87 #87381A #33871A #1A6A87
split-complementary
#6E1A87 #6A871A #1A8738
monochromatic
#1A0620 #441054 #6E1A87 #9824BA #B741DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E1A87#FFFFFF#000000##FFFFFF
##6E1A871.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)
#003F8A
Deuteranopia (green-blind)
#1B4685
Tritanopia (blue-blind)
#6D3351
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1a87;
/* rgb */ color: rgb(110, 26, 135);
/* oklch */ color: oklch(41.0% 0.175 316.9);
Tailwind
colors: {
  custom: {
    50: '#9b62ab',
    500: '#6e1a87',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a87;
$custom-light: #9b62ab;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a87",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 135
  },
  "hsl": {
    "h": 286.239,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41015,
    "c": 0.17496,
    "h": 316.9
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#6E1A87
secondary
#5EBA42
accent
#EB3D65
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1A87

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

Preview Lab → · Contrast checker → · Palette generator →

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