#6E17A1#6E17A1

#6E17A1 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.9% C 0.201 H 308.0°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#6E17A1
RGBrgb(110, 23, 161)
HSLhsl(278, 75%, 36%)
HSVhsv(278, 86%, 63%)
CMYKcmyk(31.7%, 85.7%, 0%, 36.9%)
CIE-LABlab(30.64, 57.67, -55.63)
CIE-LCHlch(30.64, 80.13, 316.03°)
OKLaboklab(42.86% 0.1236 -0.1583)
OKLCHoklch(42.86% 0.201 308)
XYZxyz(13.1685, 6.5012, 34.2724)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E17A1 #4AA117
analogous
#2917A1 #6E17A1 #A1178F
triadic
#6E17A1 #A16E17 #17A16E
tetradic
#6E17A1 #A12917 #4AA117 #178FA1
square
#6E17A1 #A12917 #4AA117 #178FA1
split-complementary
#6E17A1 #8FA117 #17A129
monochromatic
#250836 #490F6B #6E17A1 #931FD7 #AD4DE6

Accessibility & contrast

On white

9.13
#6E17A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6E17A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E17A1
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E17A1#FFFFFF#000000##FFFFFF
##6E17A11.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A5
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#653E5F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e17a1;
/* rgb */ color: rgb(110, 23, 161);
/* oklch */ color: oklch(42.9% 0.201 308.0);
Tailwind
colors: {
  custom: {
    50: '#9d62be',
    500: '#6e17a1',
    950: '#000000',
  },
}
SCSS
$custom: #6e17a1;
$custom-light: #9d62be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e17a1",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 161
  },
  "hsl": {
    "h": 277.826,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42864,
    "c": 0.20084,
    "h": 308
  },
  "luminance": 0.06501
}

Semantic roles & 50–950 ramp

primary
#6E17A1
secondary
#7AC74C
accent
#F2367B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E17A1

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

Preview Lab → · Contrast checker → · Palette generator →

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