#6E156C#6E156C

#6E156C is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.8% C 0.157 H 329.1°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#6E156C
RGBrgb(110, 21, 108)
HSLhsl(301, 68%, 26%)
HSVhsv(301, 81%, 43%)
CMYKcmyk(0%, 80.9%, 1.8%, 56.9%)
CIE-LABlab(26.55, 47.87, -29.11)
CIE-LCHlch(26.55, 56.02, 328.70°)
OKLaboklab(38.76% 0.1347 -0.0806)
OKLCHoklch(38.76% 0.157 329.1)
XYZxyz(9.4053, 4.9348, 14.6416)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E156C #156E17
analogous
#43156E #6E156C #6E153F
triadic
#6E156C #6C6E15 #156C6E
tetradic
#6E156C #6E4315 #156E17 #153F6E
square
#6E156C #6E4315 #156E17 #153F6E
split-complementary
#6E156C #3F6E15 #156E43
monochromatic
#1A0519 #3B0B3A #6E156C #A11F9E #D529D1

Accessibility & contrast

On white

10.57
#6E156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#6E156C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E156C
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E156C#FFFFFF#000000##FFFFFF
##6E156C1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03376E
Deuteranopia (green-blind)
#30436A
Tritanopia (blue-blind)
#722340
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #6e156c;
/* rgb */ color: rgb(110, 21, 108);
/* oklch */ color: oklch(38.8% 0.157 329.1);
Tailwind
colors: {
  custom: {
    50: '#9b5e96',
    500: '#6e156c',
    950: '#000000',
  },
}
SCSS
$custom: #6e156c;
$custom-light: #9b5e96;
$custom-dark: #000000;
JSON
{
  "hex": "#6e156c",
  "rgb": {
    "r": 110,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 301.348,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38763,
    "c": 0.15692,
    "h": 329.1
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

primary
#6E156C
secondary
#3AA43D
accent
#EB413D
background
#F9F5F9
surface
#F2EAF2
border
#CCC6CC
text
#0E050D
muted
#7E797E

Preview Lab

Preview with #6E156C

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

Preview Lab → · Contrast checker → · Palette generator →

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