#4B1A89#4B1A89

#4B1A89 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.168 H 297.0°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#4B1A89
RGBrgb(75, 26, 137)
HSLhsl(266, 68%, 32%)
HSVhsv(266, 81%, 54%)
CMYKcmyk(45.3%, 81%, 0%, 46.3%)
CIE-LABlab(23.81, 45.57, -52.24)
CIE-LCHlch(23.81, 69.32, 311.10°)
OKLaboklab(36.4% 0.0764 -0.1496)
OKLCHoklch(36.4% 0.168 297)
XYZxyz(7.7852, 4.0406, 24.0318)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1A89 #58891A
analogous
#1A2189 #4B1A89 #821A89
triadic
#4B1A89 #894B1A #1A894B
tetradic
#4B1A89 #891A21 #58891A #1A8982
square
#4B1A89 #891A21 #58891A #1A8982
split-complementary
#4B1A89 #89821A #21891A
monochromatic
#130622 #2F1056 #4B1A89 #6724BC #8642DB

Accessibility & contrast

On white

11.61
#4B1A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#4B1A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1A89
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1A89#FFFFFF#000000##FFFFFF
##4B1A891.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#3A3952
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4b1a89;
/* rgb */ color: rgb(75, 26, 137);
/* oklch */ color: oklch(36.4% 0.168 297.0);
Tailwind
colors: {
  custom: {
    50: '#845dac',
    500: '#4b1a89',
    950: '#000000',
  },
}
SCSS
$custom: #4b1a89;
$custom-light: #845dac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1a89",
  "rgb": {
    "r": 75,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 266.486,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36396,
    "c": 0.16801,
    "h": 297
  },
  "luminance": 0.04041
}

Semantic roles & 50–950 ramp

primary
#4B1A89
secondary
#87BC43
accent
#EB3D9E
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4B1A89

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

Preview Lab → · Contrast checker → · Palette generator →

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