#4B2589#4B2589

#4B2589 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.156 H 295.2°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#4B2589
RGBrgb(75, 37, 137)
HSLhsl(263, 57%, 34%)
HSVhsv(263, 73%, 54%)
CMYKcmyk(45.3%, 73%, 0%, 46.3%)
CIE-LABlab(25.64, 40.35, -49.24)
CIE-LCHlch(25.64, 63.66, 309.33°)
OKLaboklab(37.69% 0.0664 -0.1409)
OKLCHoklch(37.69% 0.156 295.2)
XYZxyz(8.0774, 4.6249, 24.1292)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2589 #638925
analogous
#253189 #4B2589 #7D2589
triadic
#4B2589 #894B25 #25894B
tetradic
#4B2589 #892531 #638925 #25897D
square
#4B2589 #892531 #638925 #25897D
split-complementary
#4B2589 #897D25 #318925
monochromatic
#160B29 #311859 #4B2589 #6532B9 #8557D2

Accessibility & contrast

On white

10.91
#4B2589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#4B2589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2589
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2589#FFFFFF#000000##FFFFFF
##4B25891.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#3A3E54
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4b2589;
/* rgb */ color: rgb(75, 37, 137);
/* oklch */ color: oklch(37.7% 0.156 295.2);
Tailwind
colors: {
  custom: {
    50: '#8363ac',
    500: '#4b2589',
    950: '#000000',
  },
}
SCSS
$custom: #4b2589;
$custom-light: #8363ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2589",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 137
  },
  "hsl": {
    "h": 262.8,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37685,
    "c": 0.15579,
    "h": 295.2
  },
  "luminance": 0.04625
}

Semantic roles & 50–950 ramp

primary
#4B2589
secondary
#91B654
accent
#E147A6
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4B2589

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

Preview Lab → · Contrast checker → · Palette generator →

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