#6E1D96#6E1D96

#6E1D96 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.186 H 311.1°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#6E1D96
RGBrgb(110, 29, 150)
HSLhsl(280, 68%, 35%)
HSVhsv(280, 81%, 59%)
CMYKcmyk(26.7%, 80.7%, 0%, 41.2%)
CIE-LABlab(30.39, 53.45, -49.33)
CIE-LCHlch(30.39, 72.74, 317.30°)
OKLaboklab(42.41% 0.1222 -0.1399)
OKLCHoklch(42.41% 0.186 311.1)
XYZxyz(12.3737, 6.3961, 29.4310)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1D96 #45961D
analogous
#311D96 #6E1D96 #961D82
triadic
#6E1D96 #966E1D #1D966E
tetradic
#6E1D96 #96311D #45961D #1D8296
square
#6E1D96 #96311D #45961D #1D8296
split-complementary
#6E1D96 #82961D #1D9631
monochromatic
#23092F #481363 #6E1D96 #9427C9 #AF50DD

Accessibility & contrast

On white

9.21
#6E1D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6E1D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1D96
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1D96#FFFFFF#000000##FFFFFF
##6E1D961.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#693B5A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e1d96;
/* rgb */ color: rgb(110, 29, 150);
/* oklch */ color: oklch(42.4% 0.186 311.1);
Tailwind
colors: {
  custom: {
    50: '#9c64b6',
    500: '#6e1d96',
    950: '#000000',
  },
}
SCSS
$custom: #6e1d96;
$custom-light: #9c64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1d96",
  "rgb": {
    "r": 110,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 280.165,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4241,
    "c": 0.18572,
    "h": 311.1
  },
  "luminance": 0.06396
}

Semantic roles & 50–950 ramp

primary
#6E1D96
secondary
#74C04F
accent
#EA3D77
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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