#6E16A5#6E16A5

#6E16A5 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 43.1% C 0.205 H 306.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#6E16A5
RGBrgb(110, 22, 165)
HSLhsl(277, 76%, 37%)
HSVhsv(277, 87%, 65%)
CMYKcmyk(33.3%, 86.7%, 0%, 35.3%)
CIE-LABlab(30.89, 58.81, -57.64)
CIE-LCHlch(30.89, 82.35, 315.57°)
OKLaboklab(43.14% 0.1229 -0.1642)
OKLCHoklch(43.14% 0.205 306.8)
XYZxyz(13.5074, 6.6056, 36.1534)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E16A5 #4DA516
analogous
#2616A5 #6E16A5 #A51695
triadic
#6E16A5 #A56E16 #16A56E
tetradic
#6E16A5 #A52616 #4DA516 #1695A5
square
#6E16A5 #A52616 #4DA516 #1695A5
split-complementary
#6E16A5 #95A516 #16A526
monochromatic
#260839 #4A0F6F #6E16A5 #921DDB #AC4EE7

Accessibility & contrast

On white

9.05
#6E16A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6E16A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E16A5
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E16A5#FFFFFF#000000##FFFFFF
##6E16A51.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A9
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#644061
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6e16a5;
/* rgb */ color: rgb(110, 22, 165);
/* oklch */ color: oklch(43.1% 0.205 306.8);
Tailwind
colors: {
  custom: {
    50: '#9e62c1',
    500: '#6e16a5',
    950: '#000000',
  },
}
SCSS
$custom: #6e16a5;
$custom-light: #9e62c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e16a5",
  "rgb": {
    "r": 110,
    "g": 22,
    "b": 165
  },
  "hsl": {
    "h": 276.923,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43141,
    "c": 0.20514,
    "h": 306.8
  },
  "luminance": 0.06605
}

Semantic roles & 50–950 ramp

primary
#6E16A5
secondary
#7DC94E
accent
#F3357E
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6E16A5

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

Preview Lab → · Contrast checker → · Palette generator →

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