#6E156B#6E156B

#6E156B is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.7% C 0.156 H 329.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#6E156B
RGBrgb(110, 21, 107)
HSLhsl(302, 68%, 26%)
HSVhsv(302, 81%, 43%)
CMYKcmyk(0%, 80.9%, 2.7%, 56.9%)
CIE-LABlab(26.49, 47.70, -28.56)
CIE-LCHlch(26.49, 55.59, 329.09°)
OKLaboklab(38.7% 0.1347 -0.079)
OKLCHoklch(38.7% 0.156 329.6)
XYZxyz(9.3524, 4.9136, 14.3629)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E156B #156E18
analogous
#44156E #6E156B #6E153F
triadic
#6E156B #6B6E15 #156B6E
tetradic
#6E156B #6E4415 #156E18 #153F6E
square
#6E156B #6E4415 #156E18 #153F6E
split-complementary
#6E156B #3F6E15 #156E44
monochromatic
#1A0519 #3B0B39 #6E156B #A11F9D #D529CF

Accessibility & contrast

On white

10.59
#6E156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#6E156B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E156B
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E156B#FFFFFF#000000##FFFFFF
##6E156B1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05376D
Deuteranopia (green-blind)
#314369
Tritanopia (blue-blind)
#722340
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e156b;
/* rgb */ color: rgb(110, 21, 107);
/* oklch */ color: oklch(38.7% 0.156 329.6);
Tailwind
colors: {
  custom: {
    50: '#9b5e96',
    500: '#6e156b',
    950: '#000000',
  },
}
SCSS
$custom: #6e156b;
$custom-light: #9b5e96;
$custom-dark: #000000;
JSON
{
  "hex": "#6e156b",
  "rgb": {
    "r": 110,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 302.022,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.387,
    "c": 0.15613,
    "h": 329.6
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#6E156B
secondary
#3AA43E
accent
#EB433D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6E156B

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

Preview Lab → · Contrast checker → · Palette generator →

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