#6E1E96#6E1E96

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

Color values

HEX#6E1E96
RGBrgb(110, 30, 150)
HSLhsl(280, 67%, 35%)
HSVhsv(280, 80%, 59%)
CMYKcmyk(26.7%, 80%, 0%, 41.2%)
CIE-LABlab(30.51, 53.10, -49.14)
CIE-LCHlch(30.51, 72.35, 317.22°)
OKLaboklab(42.5% 0.1214 -0.1393)
OKLCHoklch(42.5% 0.185 311.1)
XYZxyz(12.3986, 6.4459, 29.4393)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1E96 #46961E
analogous
#321E96 #6E1E96 #961E82
triadic
#6E1E96 #966E1E #1E966E
tetradic
#6E1E96 #96321E #46961E #1E8296
square
#6E1E96 #96321E #46961E #1E8296
split-complementary
#6E1E96 #82961E #1E9632
monochromatic
#230A30 #491463 #6E1E96 #9328C9 #AE52DC

Accessibility & contrast

On white

9.17
#6E1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6E1E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E1E96
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1E96#FFFFFF#000000##FFFFFF
##6E1E961.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1e96;
/* rgb */ color: rgb(110, 30, 150);
/* oklch */ color: oklch(42.5% 0.185 311.1);
Tailwind
colors: {
  custom: {
    50: '#9c64b6',
    500: '#6e1e96',
    950: '#000000',
  },
}
SCSS
$custom: #6e1e96;
$custom-light: #9c64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1e96",
  "rgb": {
    "r": 110,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 280,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42495,
    "c": 0.18474,
    "h": 311.1
  },
  "luminance": 0.06446
}

Semantic roles & 50–950 ramp

primary
#6E1E96
secondary
#75BF50
accent
#EA3E77
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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