#4B1E96#4B1E96

#4B1E96 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.178 H 292.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#4B1E96
RGBrgb(75, 30, 150)
HSLhsl(263, 67%, 35%)
HSVhsv(263, 80%, 59%)
CMYKcmyk(50%, 80%, 0%, 41.2%)
CIE-LABlab(25.64, 47.30, -57.29)
CIE-LCHlch(25.64, 74.29, 309.54°)
OKLaboklab(38.05% 0.0691 -0.1645)
OKLCHoklch(38.05% 0.178 292.8)
XYZxyz(8.8694, 4.6261, 29.2739)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E96 #69961E
analogous
#1E2D96 #4B1E96 #871E96
triadic
#4B1E96 #964B1E #1E964B
tetradic
#4B1E96 #961E2D #69961E #1E9687
square
#4B1E96 #961E2D #69961E #1E9687
split-complementary
#4B1E96 #96871E #2D961E
monochromatic
#180A30 #311463 #4B1E96 #6428C9 #8652DC

Accessibility & contrast

On white

10.91
#4B1E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4B1E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1E96
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E96#FFFFFF#000000##FFFFFF
##4B1E961.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E99
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#33405A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b1e96;
/* rgb */ color: rgb(75, 30, 150);
/* oklch */ color: oklch(38.1% 0.178 292.8);
Tailwind
colors: {
  custom: {
    50: '#8660b6',
    500: '#4b1e96',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e96;
$custom-light: #8660b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e96",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 262.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38052,
    "c": 0.17842,
    "h": 292.8
  },
  "luminance": 0.04626
}

Semantic roles & 50–950 ramp

primary
#4B1E96
secondary
#96BF50
accent
#EA3EA9
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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