#4B1D88#4B1D88

#4B1D88 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.164 H 296.9°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#4B1D88
RGBrgb(75, 29, 136)
HSLhsl(266, 65%, 32%)
HSVhsv(266, 79%, 53%)
CMYKcmyk(44.9%, 78.7%, 0%, 46.7%)
CIE-LABlab(24.17, 43.99, -51.02)
CIE-LCHlch(24.17, 67.37, 310.77°)
OKLaboklab(36.62% 0.0742 -0.1461)
OKLCHoklch(36.62% 0.164 296.9)
XYZxyz(7.7838, 4.1520, 23.6791)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1D88 #5A881D
analogous
#1D2588 #4B1D88 #801D88
triadic
#4B1D88 #884B1D #1D884B
tetradic
#4B1D88 #881D25 #5A881D #1D8880
square
#4B1D88 #881D25 #5A881D #1D8880
split-complementary
#4B1D88 #88801D #25881D
monochromatic
#130723 #2F1256 #4B1D88 #6728BA #8648D8

Accessibility & contrast

On white

11.47
#4B1D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4B1D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1D88
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1D88#FFFFFF#000000##FFFFFF
##4B1D881.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#3B3A52
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b1d88;
/* rgb */ color: rgb(75, 29, 136);
/* oklch */ color: oklch(36.6% 0.164 296.9);
Tailwind
colors: {
  custom: {
    50: '#845fac',
    500: '#4b1d88',
    950: '#000000',
  },
}
SCSS
$custom: #4b1d88;
$custom-light: #845fac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1d88",
  "rgb": {
    "r": 75,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 265.794,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3662,
    "c": 0.16384,
    "h": 296.9
  },
  "luminance": 0.04152
}

Semantic roles & 50–950 ramp

primary
#4B1D88
secondary
#88BA47
accent
#E840A0
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B1D88

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

Preview Lab → · Contrast checker → · Palette generator →

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