#4B16B4#4B16B4

#4B16B4 is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.4% C 0.217 H 286.8°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4B16B4
RGBrgb(75, 22, 180)
HSLhsl(260, 78%, 40%)
HSVhsv(260, 88%, 71%)
CMYKcmyk(58.3%, 87.8%, 0%, 29.4%)
CIE-LABlab(27.75, 58.18, -71.99)
CIE-LCHlch(27.75, 92.56, 308.95°)
OKLaboklab(40.43% 0.0626 -0.2073)
OKLCHoklch(40.43% 0.217 286.8)
XYZxyz(11.4243, 5.3643, 43.6046)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B16B4 #7FB416
analogous
#1630B4 #4B16B4 #9A16B4
triadic
#4B16B4 #B44B16 #16B44B
tetradic
#4B16B4 #B41630 #7FB416 #16B49A
square
#4B16B4 #B41630 #7FB416 #16B49A
split-complementary
#4B16B4 #B49A16 #30B416
monochromatic
#1E0947 #340F7D #4B16B4 #6423E4 #8A5AEB

Accessibility & contrast

On white

10.13
#4B16B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4B16B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B16B4
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B16B4#FFFFFF#000000##FFFFFF
##4B16B41.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B8
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#124A6A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4b16b4;
/* rgb */ color: rgb(75, 22, 180);
/* oklch */ color: oklch(40.4% 0.217 286.8);
Tailwind
colors: {
  custom: {
    50: '#8b5fcc',
    500: '#4b16b4',
    950: '#000000',
  },
}
SCSS
$custom: #4b16b4;
$custom-light: #8b5fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4b16b4",
  "rgb": {
    "r": 75,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 260.127,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.4043,
    "c": 0.21657,
    "h": 286.8
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

primary
#4B16B4
secondary
#A6CE58
accent
#F533B4
background
#F9F5FC
surface
#F2EAF9
border
#CCC6D2
text
#0D0514
muted
#7E7982

Preview Lab

Preview with #4B16B4

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

Preview Lab → · Contrast checker → · Palette generator →

#4B16B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva