#4B2499#4B2499

#4B2499 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.176 H 291.2°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#4B2499
RGBrgb(75, 36, 153)
HSLhsl(260, 62%, 37%)
HSVhsv(260, 76%, 60%)
CMYKcmyk(51%, 76.5%, 0%, 40%)
CIE-LABlab(26.90, 45.34, -57.07)
CIE-LCHlch(26.90, 72.89, 308.47°)
OKLaboklab(39.02% 0.0635 -0.1639)
OKLCHoklch(39.02% 0.176 291.2)
XYZxyz(9.2807, 5.0571, 30.6179)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2499 #729924
analogous
#243899 #4B2499 #862499
triadic
#4B2499 #994B24 #24994B
tetradic
#4B2499 #992438 #729924 #249986
square
#4B2499 #992438 #729924 #249986
split-complementary
#4B2499 #998624 #389924
monochromatic
#1A0D36 #331867 #4B2499 #6330CB #875ED9

Accessibility & contrast

On white

10.44
#4B2499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#4B2499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2499
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2499#FFFFFF#000000##FFFFFF
##4B24991.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b2499;
/* rgb */ color: rgb(75, 36, 153);
/* oklch */ color: oklch(39.0% 0.176 291.2);
Tailwind
colors: {
  custom: {
    50: '#8663b8',
    500: '#4b2499',
    950: '#000000',
  },
}
SCSS
$custom: #4b2499;
$custom-light: #8663b8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2499",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 260,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39016,
    "c": 0.17575,
    "h": 291.2
  },
  "luminance": 0.05058
}

Semantic roles & 50–950 ramp

primary
#4B2499
secondary
#9DBE5B
accent
#E543AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4B2499

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

Preview Lab → · Contrast checker → · Palette generator →

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