#6E158A#6E158A

#6E158A is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.9% C 0.182 H 316.0°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#6E158A
RGBrgb(110, 21, 138)
HSLhsl(286, 74%, 31%)
HSVhsv(286, 85%, 54%)
CMYKcmyk(20.3%, 84.8%, 0%, 45.9%)
CIE-LABlab(28.61, 53.47, -44.81)
CIE-LCHlch(28.61, 69.77, 320.04°)
OKLaboklab(40.87% 0.131 -0.1265)
OKLCHoklch(40.87% 0.182 316)
XYZxyz(11.2853, 5.6868, 24.5430)
Luminance0.0569 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E158A #318A15
analogous
#33158A #6E158A #8A156B
triadic
#6E158A #8A6E15 #158A6E
tetradic
#6E158A #8A3315 #318A15 #156B8A
square
#6E158A #8A3315 #318A15 #156B8A
split-complementary
#6E158A #6B8A15 #158A33
monochromatic
#190520 #440D55 #6E158A #981DBF #B939E1

Accessibility & contrast

On white

9.83
#6E158A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#6E158A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E158A
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E158A#FFFFFF#000000##FFFFFF
##6E158A1.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#114688
Tritanopia (blue-blind)
#6C3251
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #6e158a;
/* rgb */ color: rgb(110, 21, 138);
/* oklch */ color: oklch(40.9% 0.182 316.0);
Tailwind
colors: {
  custom: {
    50: '#9c60ad',
    500: '#6e158a',
    950: '#000000',
  },
}
SCSS
$custom: #6e158a;
$custom-light: #9c60ad;
$custom-dark: #000000;
JSON
{
  "hex": "#6e158a",
  "rgb": {
    "r": 110,
    "g": 21,
    "b": 138
  },
  "hsl": {
    "h": 285.641,
    "s": 73.585,
    "l": 31.176
  },
  "oklch": {
    "l": 0.40873,
    "c": 0.1821,
    "h": 316
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#6E158A
secondary
#5CBE3D
accent
#F03864
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #6E158A

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

Preview Lab → · Contrast checker → · Palette generator →

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