#4016A1#4016A1

#4016A1 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.3% C 0.197 H 285.4°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#4016A1
RGBrgb(64, 22, 161)
HSLhsl(258, 76%, 36%)
HSVhsv(258, 86%, 63%)
CMYKcmyk(60.2%, 86.3%, 0%, 36.9%)
CIE-LABlab(24.44, 52.17, -66.05)
CIE-LCHlch(24.44, 84.17, 308.30°)
OKLaboklab(37.28% 0.0524 -0.1903)
OKLCHoklch(37.28% 0.197 285.4)
XYZxyz(8.8323, 4.2365, 34.0636)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4016A1 #77A116
analogous
#1632A1 #4016A1 #8516A1
triadic
#4016A1 #A14016 #16A140
tetradic
#4016A1 #A11632 #77A116 #16A185
square
#4016A1 #A11632 #77A116 #16A185
split-complementary
#4016A1 #A18516 #32A116
monochromatic
#150735 #2B0F6B #4016A1 #551DD7 #7A4BE6

Accessibility & contrast

On white

11.37
#4016A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#4016A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4016A1
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4016A1#FFFFFF#000000##FFFFFF
##4016A11.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#00435F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4016a1;
/* rgb */ color: rgb(64, 22, 161);
/* oklch */ color: oklch(37.3% 0.197 285.4);
Tailwind
colors: {
  custom: {
    50: '#825cbe',
    500: '#4016a1',
    950: '#000000',
  },
}
SCSS
$custom: #4016a1;
$custom-light: #825cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#4016a1",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 258.129,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.37275,
    "c": 0.19739,
    "h": 285.4
  },
  "luminance": 0.04237
}

Semantic roles & 50–950 ramp

primary
#4016A1
secondary
#A2C84B
accent
#F335B9
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #4016A1

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

Preview Lab → · Contrast checker → · Palette generator →

#4016A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva