#6E158D#6E158D

#6E158D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.185 H 314.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#6E158D
RGBrgb(110, 21, 141)
HSLhsl(285, 74%, 32%)
HSVhsv(285, 85%, 55%)
CMYKcmyk(22%, 85.1%, 0%, 44.7%)
CIE-LABlab(28.84, 54.08, -46.30)
CIE-LCHlch(28.84, 71.19, 319.43°)
OKLaboklab(41.11% 0.1303 -0.1309)
OKLCHoklch(41.11% 0.185 314.9)
XYZxyz(11.5055, 5.7748, 25.7027)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E158D #348D15
analogous
#32158D #6E158D #8D1570
triadic
#6E158D #8D6E15 #158D6E
tetradic
#6E158D #8D3215 #348D15 #15708D
square
#6E158D #8D3215 #348D15 #15708D
split-complementary
#6E158D #708D15 #158D32
monochromatic
#1B0522 #440D58 #6E158D #981DC2 #B73BE2

Accessibility & contrast

On white

9.75
#6E158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#6E158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E158D
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E158D#FFFFFF#000000##FFFFFF
##6E158D1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F90
Deuteranopia (green-blind)
#0A468B
Tritanopia (blue-blind)
#6B3453
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e158d;
/* rgb */ color: rgb(110, 21, 141);
/* oklch */ color: oklch(41.1% 0.185 314.9);
Tailwind
colors: {
  custom: {
    50: '#9c60af',
    500: '#6e158d',
    950: '#000000',
  },
}
SCSS
$custom: #6e158d;
$custom-light: #9c60af;
$custom-dark: #000000;
JSON
{
  "hex": "#6e158d",
  "rgb": {
    "r": 110,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 284.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41105,
    "c": 0.1847,
    "h": 314.9
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#6E158D
secondary
#5FC13D
accent
#F13767
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #6E158D

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

Preview Lab → · Contrast checker → · Palette generator →

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