#6E158F#6E158F

#6E158F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.3% C 0.186 H 314.1°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#6E158F
RGBrgb(110, 21, 143)
HSLhsl(284, 74%, 32%)
HSVhsv(284, 85%, 56%)
CMYKcmyk(23.1%, 85.3%, 0%, 43.9%)
CIE-LABlab(28.99, 54.48, -47.29)
CIE-LCHlch(28.99, 72.14, 319.04°)
OKLaboklab(41.26% 0.1298 -0.1338)
OKLCHoklch(41.26% 0.186 314.1)
XYZxyz(11.6556, 5.8349, 26.4935)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E158F #368F15
analogous
#31158F #6E158F #8F1573
triadic
#6E158F #8F6E15 #158F6E
tetradic
#6E158F #8F3115 #368F15 #15738F
square
#6E158F #8F3115 #368F15 #15738F
split-complementary
#6E158F #738F15 #158F31
monochromatic
#1C0524 #450D5A #6E158F #971DC4 #B53CE2

Accessibility & contrast

On white

9.69
#6E158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#6E158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E158F
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E158F#FFFFFF#000000##FFFFFF
##6E158F1.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#04468D
Tritanopia (blue-blind)
#6B3554
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e158f;
/* rgb */ color: rgb(110, 21, 143);
/* oklch */ color: oklch(41.3% 0.186 314.1);
Tailwind
colors: {
  custom: {
    50: '#9c60b1',
    500: '#6e158f',
    950: '#000000',
  },
}
SCSS
$custom: #6e158f;
$custom-light: #9c60b1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e158f",
  "rgb": {
    "r": 110,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 283.77,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.41262,
    "c": 0.18644,
    "h": 314.1
  },
  "luminance": 0.05834
}

Semantic roles & 50–950 ramp

primary
#6E158F
secondary
#62C23E
accent
#F13769
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0511
muted
#7F7A80

Preview Lab

Preview with #6E158F

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

Preview Lab → · Contrast checker → · Palette generator →

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