#6E1B95#6E1B95

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

Color values

HEX#6E1B95
RGBrgb(110, 27, 149)
HSLhsl(281, 69%, 35%)
HSVhsv(281, 82%, 58%)
CMYKcmyk(26.2%, 81.9%, 0%, 41.6%)
CIE-LABlab(30.08, 53.91, -49.22)
CIE-LCHlch(30.08, 73.00, 317.60°)
OKLaboklab(42.17% 0.124 -0.1395)
OKLCHoklch(42.17% 0.187 311.6)
XYZxyz(12.2461, 6.2691, 28.9929)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E1B95 #42951B
analogous
#311B95 #6E1B95 #951B7F
triadic
#6E1B95 #956E1B #1B956E
tetradic
#6E1B95 #95311B #42951B #1B7F95
square
#6E1B95 #95311B #42951B #1B7F95
split-complementary
#6E1B95 #7F951B #1B9531
monochromatic
#22082D #481261 #6E1B95 #9424C9 #B04CDF

Accessibility & contrast

On white

9.32
#6E1B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6E1B95
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E1B95#FFFFFF#000000##FFFFFF
##6E1B951.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e1b95;
/* rgb */ color: rgb(110, 27, 149);
/* oklch */ color: oklch(42.2% 0.187 311.6);
Tailwind
colors: {
  custom: {
    50: '#9c63b5',
    500: '#6e1b95',
    950: '#000000',
  },
}
SCSS
$custom: #6e1b95;
$custom-light: #9c63b5;
$custom-dark: #000000;
JSON
{
  "hex": "#6e1b95",
  "rgb": {
    "r": 110,
    "g": 27,
    "b": 149
  },
  "hsl": {
    "h": 280.82,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4217,
    "c": 0.18667,
    "h": 311.6
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#6E1B95
secondary
#71C14B
accent
#EC3C74
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #6E1B95

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

Preview Lab → · Contrast checker → · Palette generator →

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