#6E158E#6E158E

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

Color values

HEX#6E158E
RGBrgb(110, 21, 142)
HSLhsl(284, 74%, 32%)
HSVhsv(284, 85%, 56%)
CMYKcmyk(22.5%, 85.2%, 0%, 44.3%)
CIE-LABlab(28.91, 54.28, -46.79)
CIE-LCHlch(28.91, 71.66, 319.23°)
OKLaboklab(41.18% 0.1301 -0.1323)
OKLCHoklch(41.18% 0.186 314.5)
XYZxyz(11.5802, 5.8047, 26.0964)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E158E #358E15
analogous
#31158E #6E158E #8E1572
triadic
#6E158E #8E6E15 #158E6E
tetradic
#6E158E #8E3115 #358E15 #15728E
square
#6E158E #8E3115 #358E15 #15728E
split-complementary
#6E158E #728E15 #158E31
monochromatic
#1B0523 #450D59 #6E158E #971DC3 #B63BE2

Accessibility & contrast

On white

9.72
#6E158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#6E158E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E158E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E158E#FFFFFF#000000##FFFFFF
##6E158E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#07468C
Tritanopia (blue-blind)
#6B3454
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #6e158e;
/* rgb */ color: rgb(110, 21, 142);
/* oklch */ color: oklch(41.2% 0.186 314.5);
Tailwind
colors: {
  custom: {
    50: '#9c60b0',
    500: '#6e158e',
    950: '#000000',
  },
}
SCSS
$custom: #6e158e;
$custom-light: #9c60b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e158e",
  "rgb": {
    "r": 110,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 284.132,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41183,
    "c": 0.18557,
    "h": 314.5
  },
  "luminance": 0.05804
}

Semantic roles & 50–950 ramp

primary
#6E158E
secondary
#60C23D
accent
#F13768
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0510
muted
#7F7A7F

Preview Lab

Preview with #6E158E

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

Preview Lab → · Contrast checker → · Palette generator →

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