#6E159E#6E159E

#6E159E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.5% C 0.200 H 309.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#6E159E
RGBrgb(110, 21, 158)
HSLhsl(279, 77%, 35%)
HSVhsv(279, 87%, 62%)
CMYKcmyk(30.4%, 86.7%, 0%, 38%)
CIE-LABlab(30.21, 57.58, -54.52)
CIE-LCHlch(30.21, 79.30, 316.57°)
OKLaboklab(42.48% 0.1257 -0.155)
OKLCHoklch(42.48% 0.2 309)
XYZxyz(12.8689, 6.3202, 32.8831)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E159E #459E15
analogous
#29159E #6E159E #9E1589
triadic
#6E159E #9E6E15 #159E6E
tetradic
#6E159E #9E2915 #459E15 #15899E
square
#6E159E #9E2915 #459E15 #15899E
split-complementary
#6E159E #899E15 #159E29
monochromatic
#230732 #480E68 #6E159E #941CD4 #AF47E7

Accessibility & contrast

On white

9.28
#6E159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6E159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E159E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E159E#FFFFFF#000000##FFFFFF
##6E159E1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#663C5D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6e159e;
/* rgb */ color: rgb(110, 21, 158);
/* oklch */ color: oklch(42.5% 0.200 309.0);
Tailwind
colors: {
  custom: {
    50: '#9d61bc',
    500: '#6e159e',
    950: '#000000',
  },
}
SCSS
$custom: #6e159e;
$custom-light: #9d61bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6e159e",
  "rgb": {
    "r": 110,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 278.978,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42484,
    "c": 0.19962,
    "h": 309
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#6E159E
secondary
#74C747
accent
#F33577
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E159E

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

Preview Lab → · Contrast checker → · Palette generator →

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