#4B2585#4B2585

#4B2585 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.3% C 0.151 H 296.4°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#4B2585
RGBrgb(75, 37, 133)
HSLhsl(264, 56%, 33%)
HSVhsv(264, 72%, 52%)
CMYKcmyk(43.6%, 72.2%, 0%, 47.8%)
CIE-LABlab(25.30, 39.23, -47.29)
CIE-LCHlch(25.30, 61.45, 309.68°)
OKLaboklab(37.34% 0.0672 -0.1352)
OKLCHoklch(37.34% 0.151 296.4)
XYZxyz(7.7957, 4.5123, 22.6460)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2585 #5F8525
analogous
#252F85 #4B2585 #7B2585
triadic
#4B2585 #854B25 #25854B
tetradic
#4B2585 #85252F #5F8525 #25857B
square
#4B2585 #85252F #5F8525 #25857B
split-complementary
#4B2585 #857B25 #2F8525
monochromatic
#150A25 #301855 #4B2585 #6632B5 #8555D0

Accessibility & contrast

On white

11.04
#4B2585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4B2585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2585
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2585#FFFFFF#000000##FFFFFF
##4B25851.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003B83
Tritanopia (blue-blind)
#3C3D52
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4b2585;
/* rgb */ color: rgb(75, 37, 133);
/* oklch */ color: oklch(37.3% 0.151 296.4);
Tailwind
colors: {
  custom: {
    50: '#8363a9',
    500: '#4b2585',
    950: '#000000',
  },
}
SCSS
$custom: #4b2585;
$custom-light: #8363a9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2585",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 263.75,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37336,
    "c": 0.15099,
    "h": 296.4
  },
  "luminance": 0.04512
}

Semantic roles & 50–950 ramp

primary
#4B2585
secondary
#8DB452
accent
#E048A4
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #4B2585

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

Preview Lab → · Contrast checker → · Palette generator →

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