#6E1B84#6E1B84

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

Color values

HEX#6E1B84
RGBrgb(110, 27, 132)
HSLhsl(287, 66%, 31%)
HSVhsv(287, 80%, 52%)
CMYKcmyk(16.7%, 79.5%, 0%, 48.2%)
CIE-LABlab(28.81, 50.41, -40.73)
CIE-LCHlch(28.81, 64.81, 321.06°)
OKLaboklab(40.88% 0.1273 -0.1146)
OKLCHoklch(40.88% 0.171 318)
XYZxyz(10.9866, 5.7653, 22.3594)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B84 #31841B
analogous
#391B84 #6E1B84 #841B65
triadic
#6E1B84 #846E1B #1B846E
tetradic
#6E1B84 #84391B #31841B #1B6584
square
#6E1B84 #84391B #31841B #1B6584
split-complementary
#6E1B84 #65841B #1B8439
monochromatic
#19061E #441151 #6E1B84 #9825B7 #B941D8

Accessibility & contrast

On white

9.75
#6E1B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6E1B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1B84
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B84#FFFFFF#000000##FFFFFF
##6E1B841.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#204682
Tritanopia (blue-blind)
#6D324F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1b84;
/* rgb */ color: rgb(110, 27, 132);
/* oklch */ color: oklch(40.9% 0.171 318.0);
Tailwind
colors: {
  custom: {
    50: '#9b62a8',
    500: '#6e1b84',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b84;
$custom-light: #9b62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b84",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 287.429,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40877,
    "c": 0.17127,
    "h": 318
  },
  "luminance": 0.05765
}

Semantic roles & 50–950 ramp

primary
#6E1B84
secondary
#5CB743
accent
#E93F62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1B84

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

Preview Lab → · Contrast checker → · Palette generator →

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