#4B2387#4B2387

#4B2387 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.156 H 296.2°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#4B2387
RGBrgb(75, 35, 135)
HSLhsl(264, 59%, 33%)
HSVhsv(264, 74%, 53%)
CMYKcmyk(44.4%, 74.1%, 0%, 47.1%)
CIE-LABlab(25.10, 40.83, -48.87)
CIE-LCHlch(25.10, 63.68, 309.88°)
OKLaboklab(37.25% 0.0689 -0.1398)
OKLCHoklch(37.25% 0.156 296.2)
XYZxyz(7.8747, 4.4470, 23.3604)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2387 #5F8723
analogous
#232D87 #4B2387 #7D2387
triadic
#4B2387 #874B23 #23874B
tetradic
#4B2387 #87232D #5F8723 #23877D
square
#4B2387 #87232D #5F8723 #23877D
split-complementary
#4B2387 #877D23 #2D8723
monochromatic
#150A26 #301656 #4B2387 #6630B8 #8552D2

Accessibility & contrast

On white

11.11
#4B2387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4B2387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2387
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2387#FFFFFF#000000##FFFFFF
##4B23871.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#3B3C53
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b2387;
/* rgb */ color: rgb(75, 35, 135);
/* oklch */ color: oklch(37.2% 0.156 296.2);
Tailwind
colors: {
  custom: {
    50: '#8362ab',
    500: '#4b2387',
    950: '#000000',
  },
}
SCSS
$custom: #4b2387;
$custom-light: #8362ab;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2387",
  "rgb": {
    "r": 75,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 264,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37247,
    "c": 0.15586,
    "h": 296.2
  },
  "luminance": 0.04447
}

Semantic roles & 50–950 ramp

primary
#4B2387
secondary
#8DB650
accent
#E246A4
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4B2387

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

Preview Lab → · Contrast checker → · Palette generator →

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