#4B1889#4B1889

#4B1889 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.170 H 297.3°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#4B1889
RGBrgb(75, 24, 137)
HSLhsl(267, 70%, 32%)
HSVhsv(267, 82%, 54%)
CMYKcmyk(45.3%, 82.5%, 0%, 46.3%)
CIE-LABlab(23.52, 46.39, -52.70)
CIE-LCHlch(23.52, 70.21, 311.36°)
OKLaboklab(36.2% 0.0779 -0.151)
OKLCHoklch(36.2% 0.17 297.3)
XYZxyz(7.7425, 3.9551, 24.0175)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1889 #568918
analogous
#181D89 #4B1889 #841889
triadic
#4B1889 #894B18 #18894B
tetradic
#4B1889 #89181D #568918 #188984
square
#4B1889 #89181D #568918 #188984
split-complementary
#4B1889 #898418 #1D8918
monochromatic
#120621 #2E0F55 #4B1889 #6821BD #863EDD

Accessibility & contrast

On white

11.73
#4B1889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#4B1889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1889
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1889#FFFFFF#000000##FFFFFF
##4B18891.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003787
Tritanopia (blue-blind)
#3A3851
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #4b1889;
/* rgb */ color: rgb(75, 24, 137);
/* oklch */ color: oklch(36.2% 0.170 297.3);
Tailwind
colors: {
  custom: {
    50: '#845cac',
    500: '#4b1889',
    950: '#000000',
  },
}
SCSS
$custom: #4b1889;
$custom-light: #845cac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1889",
  "rgb": {
    "r": 75,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 267.08,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36199,
    "c": 0.16991,
    "h": 297.3
  },
  "luminance": 0.03955
}

Semantic roles & 50–950 ramp

primary
#4B1889
secondary
#84BD40
accent
#ED3B9D
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0C0410
muted
#7D797F

Preview Lab

Preview with #4B1889

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

Preview Lab → · Contrast checker → · Palette generator →

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