#4B1E88#4B1E88

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

Color values

HEX#4B1E88
RGBrgb(75, 30, 136)
HSLhsl(265, 64%, 33%)
HSVhsv(265, 78%, 53%)
CMYKcmyk(44.9%, 77.9%, 0%, 46.7%)
CIE-LABlab(24.33, 43.54, -50.76)
CIE-LCHlch(24.33, 66.87, 310.62°)
OKLaboklab(36.73% 0.0733 -0.1453)
OKLCHoklch(36.73% 0.163 296.8)
XYZxyz(7.8087, 4.2018, 23.6874)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1E88 #5B881E
analogous
#1E2688 #4B1E88 #801E88
triadic
#4B1E88 #884B1E #1E884B
tetradic
#4B1E88 #881E26 #5B881E #1E8880
square
#4B1E88 #881E26 #5B881E #1E8880
split-complementary
#4B1E88 #88801E #26881E
monochromatic
#140824 #2F1356 #4B1E88 #6729BA #8649D7

Accessibility & contrast

On white

11.41
#4B1E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B1E88
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1E88#FFFFFF#000000##FFFFFF
##4B1E881.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b1e88;
/* rgb */ color: rgb(75, 30, 136);
/* oklch */ color: oklch(36.7% 0.163 296.8);
Tailwind
colors: {
  custom: {
    50: '#845fac',
    500: '#4b1e88',
    950: '#000000',
  },
}
SCSS
$custom: #4b1e88;
$custom-light: #845fac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1e88",
  "rgb": {
    "r": 75,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 265.472,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36732,
    "c": 0.16277,
    "h": 296.8
  },
  "luminance": 0.04202
}

Semantic roles & 50–950 ramp

primary
#4B1E88
secondary
#89B949
accent
#E741A0
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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