#4B1D89#4B1D89

#4B1D89 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.165 H 296.6°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#4B1D89
RGBrgb(75, 29, 137)
HSLhsl(266, 65%, 33%)
HSVhsv(266, 79%, 54%)
CMYKcmyk(45.3%, 78.8%, 0%, 46.3%)
CIE-LABlab(24.26, 44.26, -51.49)
CIE-LCHlch(24.26, 67.90, 310.68°)
OKLaboklab(36.71% 0.0739 -0.1475)
OKLCHoklch(36.71% 0.165 296.6)
XYZxyz(7.8552, 4.1806, 24.0551)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1D89 #5B891D
analogous
#1D2589 #4B1D89 #811D89
triadic
#4B1D89 #894B1D #1D894B
tetradic
#4B1D89 #891D25 #5B891D #1D8981
square
#4B1D89 #891D25 #5B891D #1D8981
split-complementary
#4B1D89 #89811D #25891D
monochromatic
#140824 #2F1256 #4B1D89 #6728BC #8648D8

Accessibility & contrast

On white

11.44
#4B1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#4B1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1D89
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1D89#FFFFFF#000000##FFFFFF
##4B1D891.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#3A3A52
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #4b1d89;
/* rgb */ color: rgb(75, 29, 137);
/* oklch */ color: oklch(36.7% 0.165 296.6);
Tailwind
colors: {
  custom: {
    50: '#845fac',
    500: '#4b1d89',
    950: '#000000',
  },
}
SCSS
$custom: #4b1d89;
$custom-light: #845fac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1d89",
  "rgb": {
    "r": 75,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 265.556,
    "s": 65.06,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36713,
    "c": 0.16496,
    "h": 296.6
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#4B1D89
secondary
#89BA47
accent
#E840A0
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4B1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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