#4B2599#4B2599

#4B2599 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.175 H 291.0°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#4B2599
RGBrgb(75, 37, 153)
HSLhsl(260, 61%, 37%)
HSVhsv(260, 76%, 60%)
CMYKcmyk(51%, 75.8%, 0%, 40%)
CIE-LABlab(27.07, 44.85, -56.79)
CIE-LCHlch(27.07, 72.36, 308.30°)
OKLaboklab(39.14% 0.0627 -0.1631)
OKLCHoklch(39.14% 0.175 291)
XYZxyz(9.3113, 5.1185, 30.6282)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2599 #739925
analogous
#253999 #4B2599 #852599
triadic
#4B2599 #994B25 #25994B
tetradic
#4B2599 #992539 #739925 #259985
square
#4B2599 #992539 #739925 #259985
split-complementary
#4B2599 #998525 #399925
monochromatic
#1B0D36 #331968 #4B2599 #6331CA #8760D9

Accessibility & contrast

On white

10.38
#4B2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4B2599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2599
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2599#FFFFFF#000000##FFFFFF
##4B25991.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#30455D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4b2599;
/* rgb */ color: rgb(75, 37, 153);
/* oklch */ color: oklch(39.1% 0.175 291.0);
Tailwind
colors: {
  custom: {
    50: '#8664b8',
    500: '#4b2599',
    950: '#000000',
  },
}
SCSS
$custom: #4b2599;
$custom-light: #8664b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2599",
  "rgb": {
    "r": 75,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 259.655,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39138,
    "c": 0.17468,
    "h": 291
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#4B2599
secondary
#9EBE5C
accent
#E444B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2599

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

Preview Lab → · Contrast checker → · Palette generator →

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