#4B2492#4B2492

#4B2492 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.168 H 292.9°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#4B2492
RGBrgb(75, 36, 146)
HSLhsl(261, 60%, 36%)
HSVhsv(261, 75%, 57%)
CMYKcmyk(48.6%, 75.3%, 0%, 42.7%)
CIE-LABlab(26.25, 43.38, -53.82)
CIE-LCHlch(26.25, 69.13, 308.87°)
OKLaboklab(38.37% 0.0653 -0.1544)
OKLCHoklch(38.37% 0.168 292.9)
XYZxyz(8.7194, 4.8326, 27.6619)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2492 #6B9224
analogous
#243492 #4B2492 #822492
triadic
#4B2492 #924B24 #24924B
tetradic
#4B2492 #922434 #6B9224 #249282
square
#4B2492 #922434 #6B9224 #249282
split-complementary
#4B2492 #928224 #349224
monochromatic
#190C30 #321861 #4B2492 #6430C3 #865AD6

Accessibility & contrast

On white

10.68
#4B2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4B2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2492
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2492#FFFFFF#000000##FFFFFF
##4B24921.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F95
Deuteranopia (green-blind)
#003C90
Tritanopia (blue-blind)
#354159
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4b2492;
/* rgb */ color: rgb(75, 36, 146);
/* oklch */ color: oklch(38.4% 0.168 292.9);
Tailwind
colors: {
  custom: {
    50: '#8563b3',
    500: '#4b2492',
    950: '#000000',
  },
}
SCSS
$custom: #4b2492;
$custom-light: #8563b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2492",
  "rgb": {
    "r": 75,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 261.273,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38365,
    "c": 0.16761,
    "h": 292.9
  },
  "luminance": 0.04833
}

Semantic roles & 50–950 ramp

primary
#4B2492
secondary
#97BB57
accent
#E444AB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4B2492

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

Preview Lab → · Contrast checker → · Palette generator →

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