#6E1A84#6E1A84

#6E1A84 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.172 H 318.1°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#6E1A84
RGBrgb(110, 26, 132)
HSLhsl(288, 67%, 31%)
HSVhsv(288, 80%, 52%)
CMYKcmyk(16.7%, 80.3%, 0%, 48.2%)
CIE-LABlab(28.70, 50.74, -40.92)
CIE-LCHlch(28.70, 65.19, 321.12°)
OKLaboklab(40.79% 0.1282 -0.1151)
OKLCHoklch(40.79% 0.172 318.1)
XYZxyz(10.9641, 5.7202, 22.3519)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A84 #30841A
analogous
#391A84 #6E1A84 #841A65
triadic
#6E1A84 #846E1A #1A846E
tetradic
#6E1A84 #84391A #30841A #1A6584
square
#6E1A84 #84391A #30841A #1A6584
split-complementary
#6E1A84 #65841A #1A8439
monochromatic
#19061E #431051 #6E1A84 #9924B7 #B93FD9

Accessibility & contrast

On white

9.79
#6E1A84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6E1A84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1A84
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A84#FFFFFF#000000##FFFFFF
##6E1A841.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#1F4682
Tritanopia (blue-blind)
#6D324F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e1a84;
/* rgb */ color: rgb(110, 26, 132);
/* oklch */ color: oklch(40.8% 0.172 318.1);
Tailwind
colors: {
  custom: {
    50: '#9b62a8',
    500: '#6e1a84',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a84;
$custom-light: #9b62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a84",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 132
  },
  "hsl": {
    "h": 287.547,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40795,
    "c": 0.17229,
    "h": 318.1
  },
  "luminance": 0.0572
}

Semantic roles & 50–950 ramp

primary
#6E1A84
secondary
#5BB842
accent
#EA3E62
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0610
muted
#7E7A7F

Preview Lab

Preview with #6E1A84

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

Preview Lab → · Contrast checker → · Palette generator →

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