#6E16A1#6E16A1

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

Color values

HEX#6E16A1
RGBrgb(110, 22, 161)
HSLhsl(278, 76%, 36%)
HSVhsv(278, 86%, 63%)
CMYKcmyk(31.7%, 86.3%, 0%, 36.9%)
CIE-LABlab(30.55, 57.95, -55.78)
CIE-LCHlch(30.55, 80.43, 316.09°)
OKLaboklab(42.8% 0.1242 -0.1588)
OKLCHoklch(42.8% 0.202 308)
XYZxyz(13.1490, 6.4622, 34.2659)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E16A1 #49A116
analogous
#2916A1 #6E16A1 #A1168E
triadic
#6E16A1 #A16E16 #16A16E
tetradic
#6E16A1 #A12916 #49A116 #168EA1
square
#6E16A1 #A12916 #49A116 #168EA1
split-complementary
#6E16A1 #8EA116 #16A129
monochromatic
#240735 #490F6B #6E16A1 #931DD7 #AD4BE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6E16A1#FFFFFF#000000##FFFFFF
##6E16A11.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)
#0045A5
Deuteranopia (green-blind)
#00499E
Tritanopia (blue-blind)
#653E5F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6e16a1;
/* rgb */ color: rgb(110, 22, 161);
/* oklch */ color: oklch(42.8% 0.202 308.0);
Tailwind
colors: {
  custom: {
    50: '#9d62be',
    500: '#6e16a1',
    950: '#000000',
  },
}
SCSS
$custom: #6e16a1;
$custom-light: #9d62be;
$custom-dark: #000000;
JSON
{
  "hex": "#6e16a1",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 277.986,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.428,
    "c": 0.20157,
    "h": 308
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

primary
#6E16A1
secondary
#79C84B
accent
#F3357B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E16A1

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

Preview Lab → · Contrast checker → · Palette generator →

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