#6D16A5#6D16A5

#6D16A5 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 43.0% C 0.205 H 306.4°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#6D16A5
RGBrgb(109, 22, 165)
HSLhsl(277, 76%, 37%)
HSVhsv(277, 87%, 65%)
CMYKcmyk(33.9%, 86.7%, 0%, 35.3%)
CIE-LABlab(30.74, 58.66, -57.90)
CIE-LCHlch(30.74, 82.42, 315.37°)
OKLaboklab(43.01% 0.1215 -0.165)
OKLCHoklch(43.01% 0.205 306.4)
XYZxyz(13.3836, 6.5418, 36.1476)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D16A5 #4EA516
analogous
#2516A5 #6D16A5 #A51696
triadic
#6D16A5 #A56D16 #16A56D
tetradic
#6D16A5 #A52516 #4EA516 #1696A5
square
#6D16A5 #A52516 #4EA516 #1696A5
split-complementary
#6D16A5 #96A516 #16A525
monochromatic
#260839 #490F6F #6D16A5 #911DDB #AB4EE7

Accessibility & contrast

On white

9.10
#6D16A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6D16A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D16A5
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D16A5#FFFFFF#000000##FFFFFF
##6D16A51.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d16a5;
/* rgb */ color: rgb(109, 22, 165);
/* oklch */ color: oklch(43.0% 0.205 306.4);
Tailwind
colors: {
  custom: {
    50: '#9d62c1',
    500: '#6d16a5',
    950: '#000000',
  },
}
SCSS
$custom: #6d16a5;
$custom-light: #9d62c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6d16a5",
  "rgb": {
    "r": 109,
    "g": 22,
    "b": 165
  },
  "hsl": {
    "h": 276.503,
    "s": 76.471,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43006,
    "c": 0.20491,
    "h": 306.4
  },
  "luminance": 0.06542
}

Semantic roles & 50–950 ramp

primary
#6D16A5
secondary
#7EC94E
accent
#F3357F
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #6D16A5

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

Preview Lab → · Contrast checker → · Palette generator →

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