#4B2496#4B2496

#4B2496 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.7% C 0.172 H 291.9°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#4B2496
RGBrgb(75, 36, 150)
HSLhsl(261, 61%, 36%)
HSVhsv(261, 76%, 59%)
CMYKcmyk(50%, 76%, 0%, 41.2%)
CIE-LABlab(26.62, 44.50, -55.68)
CIE-LCHlch(26.62, 71.28, 308.63°)
OKLaboklab(38.74% 0.0643 -0.1598)
OKLCHoklch(38.74% 0.172 291.9)
XYZxyz(9.0360, 4.9593, 29.3294)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2496 #6F9624
analogous
#243696 #4B2496 #842496
triadic
#4B2496 #964B24 #24964B
tetradic
#4B2496 #962436 #6F9624 #249684
square
#4B2496 #962436 #6F9624 #249684
split-complementary
#4B2496 #968424 #369624
monochromatic
#1A0C33 #321865 #4B2496 #6430C7 #875CD8

Accessibility & contrast

On white

10.54
#4B2496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4B2496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2496
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2496#FFFFFF#000000##FFFFFF
##4B24961.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#32435B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4b2496;
/* rgb */ color: rgb(75, 36, 150);
/* oklch */ color: oklch(38.7% 0.172 291.9);
Tailwind
colors: {
  custom: {
    50: '#8563b6',
    500: '#4b2496',
    950: '#000000',
  },
}
SCSS
$custom: #4b2496;
$custom-light: #8563b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2496",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 260.526,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38735,
    "c": 0.17227,
    "h": 291.9
  },
  "luminance": 0.0496
}

Semantic roles & 50–950 ramp

primary
#4B2496
secondary
#9BBD59
accent
#E443AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4B2496

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

Preview Lab → · Contrast checker → · Palette generator →

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