#4B1C96#4B1C96

#4B1C96 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.180 H 293.1°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#4B1C96
RGBrgb(75, 28, 150)
HSLhsl(263, 69%, 35%)
HSVhsv(263, 81%, 59%)
CMYKcmyk(50%, 81.3%, 0%, 41.2%)
CIE-LABlab(25.35, 48.16, -57.77)
CIE-LCHlch(25.35, 75.21, 309.81°)
OKLaboklab(37.85% 0.0706 -0.1659)
OKLCHoklch(37.85% 0.18 293.1)
XYZxyz(8.8204, 4.5281, 29.2575)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1C96 #67961C
analogous
#1C2A96 #4B1C96 #881C96
triadic
#4B1C96 #964B1C #1C964B
tetradic
#4B1C96 #961C2A #67961C #1C9688
square
#4B1C96 #961C2A #67961C #1C9688
split-complementary
#4B1C96 #96881C #2A961C
monochromatic
#17092F #311262 #4B1C96 #6526CA #864EDE

Accessibility & contrast

On white

11.02
#4B1C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#4B1C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1C96
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1C96#FFFFFF#000000##FFFFFF
##4B1C961.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#333F59
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b1c96;
/* rgb */ color: rgb(75, 28, 150);
/* oklch */ color: oklch(37.8% 0.180 293.1);
Tailwind
colors: {
  custom: {
    50: '#865fb6',
    500: '#4b1c96',
    950: '#000000',
  },
}
SCSS
$custom: #4b1c96;
$custom-light: #865fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1c96",
  "rgb": {
    "r": 75,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 263.115,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37846,
    "c": 0.18029,
    "h": 293.1
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#4B1C96
secondary
#94C14D
accent
#EB3CA8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1C96

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

Preview Lab → · Contrast checker → · Palette generator →

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