#6E17A0#6E17A0

#6E17A0 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.200 H 308.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#6E17A0
RGBrgb(110, 23, 160)
HSLhsl(278, 75%, 36%)
HSVhsv(278, 86%, 63%)
CMYKcmyk(31.2%, 85.6%, 0%, 37.3%)
CIE-LABlab(30.56, 57.46, -55.16)
CIE-LCHlch(30.56, 79.65, 316.17°)
OKLaboklab(42.78% 0.1239 -0.1569)
OKLCHoklch(42.78% 0.2 308.3)
XYZxyz(13.0806, 6.4661, 33.8099)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E17A0 #49A017
analogous
#2917A0 #6E17A0 #A0178D
triadic
#6E17A0 #A06E17 #17A06E
tetradic
#6E17A0 #A02917 #49A017 #178DA0
square
#6E17A0 #A02917 #49A017 #178DA0
split-complementary
#6E17A0 #8DA017 #17A029
monochromatic
#240835 #490F6A #6E17A0 #931FD6 #AD4CE5

Accessibility & contrast

On white

9.16
#6E17A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6E17A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E17A0
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E17A0#FFFFFF#000000##FFFFFF
##6E17A01.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#663E5F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e17a0;
/* rgb */ color: rgb(110, 23, 160);
/* oklch */ color: oklch(42.8% 0.200 308.3);
Tailwind
colors: {
  custom: {
    50: '#9d62bd',
    500: '#6e17a0',
    950: '#000000',
  },
}
SCSS
$custom: #6e17a0;
$custom-light: #9d62bd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e17a0",
  "rgb": {
    "r": 110,
    "g": 23,
    "b": 160
  },
  "hsl": {
    "h": 278.102,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4278,
    "c": 0.19994,
    "h": 308.3
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#6E17A0
secondary
#79C74C
accent
#F1367B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E17A0

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

Preview Lab → · Contrast checker → · Palette generator →

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