#4816B4#4816B4

#4816B4 is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 40.1% C 0.217 H 285.4°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#4816B4
RGBrgb(72, 22, 180)
HSLhsl(259, 78%, 40%)
HSVhsv(259, 88%, 71%)
CMYKcmyk(60%, 87.8%, 0%, 29.4%)
CIE-LABlab(27.42, 57.92, -72.54)
CIE-LCHlch(27.42, 92.82, 308.61°)
OKLaboklab(40.13% 0.0578 -0.209)
OKLCHoklch(40.13% 0.217 285.4)
XYZxyz(11.1951, 5.2461, 43.5938)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4816B4 #82B416
analogous
#1633B4 #4816B4 #9716B4
triadic
#4816B4 #B44816 #16B448
tetradic
#4816B4 #B41633 #82B416 #16B497
square
#4816B4 #B41633 #82B416 #16B497
split-complementary
#4816B4 #B49716 #33B416
monochromatic
#1C0947 #320F7D #4816B4 #6023E4 #885AEB

Accessibility & contrast

On white

10.25
#4816B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4816B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4816B4
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4816B4#FFFFFF#000000##FFFFFF
##4816B41.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#004B6A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4816b4;
/* rgb */ color: rgb(72, 22, 180);
/* oklch */ color: oklch(40.1% 0.217 285.4);
Tailwind
colors: {
  custom: {
    50: '#895ecc',
    500: '#4816b4',
    950: '#000000',
  },
}
SCSS
$custom: #4816b4;
$custom-light: #895ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#4816b4",
  "rgb": {
    "r": 72,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 258.987,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40134,
    "c": 0.21682,
    "h": 285.4
  },
  "luminance": 0.05247
}

Semantic roles & 50–950 ramp

primary
#4816B4
secondary
#A9CE58
accent
#F533B7
background
#F9F5FC
surface
#F1EAF9
border
#CBC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #4816B4

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

Preview Lab → · Contrast checker → · Palette generator →

#4816B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva