#6E1A96#6E1A96

#6E1A96 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.188 H 311.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#6E1A96
RGBrgb(110, 26, 150)
HSLhsl(281, 70%, 35%)
HSVhsv(281, 83%, 59%)
CMYKcmyk(26.7%, 82.7%, 0%, 41.2%)
CIE-LABlab(30.05, 54.44, -49.88)
CIE-LCHlch(30.05, 73.84, 317.50°)
OKLaboklab(42.17% 0.1246 -0.1415)
OKLCHoklch(42.17% 0.188 311.4)
XYZxyz(12.3038, 6.2561, 29.4077)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1A96 #42961A
analogous
#301A96 #6E1A96 #961A80
triadic
#6E1A96 #966E1A #1A966E
tetradic
#6E1A96 #96301A #42961A #1A8096
square
#6E1A96 #96301A #42961A #1A8096
split-complementary
#6E1A96 #80961A #1A9630
monochromatic
#22082E #481162 #6E1A96 #9423CA #B04BE0

Accessibility & contrast

On white

9.33
#6E1A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#6E1A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1A96
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1A96#FFFFFF#000000##FFFFFF
##6E1A961.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#693A59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e1a96;
/* rgb */ color: rgb(110, 26, 150);
/* oklch */ color: oklch(42.2% 0.188 311.4);
Tailwind
colors: {
  custom: {
    50: '#9c63b6',
    500: '#6e1a96',
    950: '#000000',
  },
}
SCSS
$custom: #6e1a96;
$custom-light: #9c63b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1a96",
  "rgb": {
    "r": 110,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 280.645,
    "s": 70.455,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42172,
    "c": 0.18848,
    "h": 311.4
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#6E1A96
secondary
#71C24A
accent
#ED3B74
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1A96

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

Preview Lab → · Contrast checker → · Palette generator →

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