#4016A0#4016A0

#4016A0 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.2% C 0.196 H 285.6°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#4016A0
RGBrgb(64, 22, 160)
HSLhsl(258, 76%, 36%)
HSVhsv(258, 86%, 63%)
CMYKcmyk(60%, 86.3%, 0%, 37.3%)
CIE-LABlab(24.33, 51.90, -65.63)
CIE-LCHlch(24.33, 83.67, 308.34°)
OKLaboklab(37.17% 0.0527 -0.1891)
OKLCHoklch(37.17% 0.196 285.6)
XYZxyz(8.7445, 4.2013, 33.6010)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4016A0 #76A016
analogous
#1631A0 #4016A0 #8516A0
triadic
#4016A0 #A04016 #16A040
tetradic
#4016A0 #A01631 #76A016 #16A085
square
#4016A0 #A01631 #76A016 #16A085
split-complementary
#4016A0 #A08516 #31A016
monochromatic
#150734 #2A0F6A #4016A0 #561DD6 #7A4AE6

Accessibility & contrast

On white

11.41
#4016A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4016A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4016A0
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4016A0#FFFFFF#000000##FFFFFF
##4016A01.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#03435E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4016a0;
/* rgb */ color: rgb(64, 22, 160);
/* oklch */ color: oklch(37.2% 0.196 285.6);
Tailwind
colors: {
  custom: {
    50: '#825cbd',
    500: '#4016a0',
    950: '#000000',
  },
}
SCSS
$custom: #4016a0;
$custom-light: #825cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#4016a0",
  "rgb": {
    "r": 64,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 258.261,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37165,
    "c": 0.1963,
    "h": 285.6
  },
  "luminance": 0.04202
}

Semantic roles & 50–950 ramp

primary
#4016A0
secondary
#A1C84A
accent
#F235B9
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #4016A0

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

Preview Lab → · Contrast checker → · Palette generator →

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