#6E17B3#6E17B3

#6E17B3 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.4% C 0.217 H 302.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#6E17B3
RGBrgb(110, 23, 179)
HSLhsl(273, 77%, 40%)
HSVhsv(273, 87%, 70%)
CMYKcmyk(38.5%, 87.2%, 0%, 29.8%)
CIE-LABlab(32.22, 61.59, -63.87)
CIE-LCHlch(32.22, 88.73, 313.96°)
OKLaboklab(44.43% 0.1175 -0.1825)
OKLCHoklch(44.43% 0.217 302.8)
XYZxyz(14.8715, 7.1824, 43.2419)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E17B3 #5CB317
analogous
#2017B3 #6E17B3 #B317AA
triadic
#6E17B3 #B36E17 #17B36E
tetradic
#6E17B3 #B32017 #5CB317 #17AAB3
square
#6E17B3 #B32017 #5CB317 #17AAB3
split-complementary
#6E17B3 #AAB317 #17B320
monochromatic
#2B0947 #4D107D #6E17B3 #8F24E3 #AA5BEA

Accessibility & contrast

On white

8.62
#6E17B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6E17B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E17B3
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E17B3#FFFFFF#000000##FFFFFF
##6E17B31.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#5F476A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6e17b3;
/* rgb */ color: rgb(110, 23, 179);
/* oklch */ color: oklch(44.4% 0.217 302.8);
Tailwind
colors: {
  custom: {
    50: '#9f63cb',
    500: '#6e17b3',
    950: '#000000',
  },
}
SCSS
$custom: #6e17b3;
$custom-light: #9f63cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e17b3",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 179
  },
  "hsl": {
    "h": 273.462,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44434,
    "c": 0.2171,
    "h": 302.8
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#6E17B3
secondary
#8CCD58
accent
#F43489
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6E17B3

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

Preview Lab → · Contrast checker → · Palette generator →

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