#4D2492#4D2492

#4D2492 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.168 H 294.1°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#4D2492
RGBrgb(77, 36, 146)
HSLhsl(262, 60%, 36%)
HSVhsv(262, 75%, 57%)
CMYKcmyk(47.3%, 75.3%, 0%, 42.7%)
CIE-LABlab(26.49, 43.72, -53.42)
CIE-LCHlch(26.49, 69.03, 309.30°)
OKLaboklab(38.59% 0.0684 -0.1531)
OKLCHoklch(38.59% 0.168 294.1)
XYZxyz(8.8783, 4.9146, 27.6694)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2492 #699224
analogous
#243292 #4D2492 #842492
triadic
#4D2492 #924D24 #24924D
tetradic
#4D2492 #922432 #699224 #249284
square
#4D2492 #922432 #699224 #249284
split-complementary
#4D2492 #928424 #329224
monochromatic
#190C30 #331861 #4D2492 #6730C3 #885AD6

Accessibility & contrast

On white

10.59
#4D2492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4D2492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2492
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2492#FFFFFF#000000##FFFFFF
##4D24921.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#394159
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d2492;
/* rgb */ color: rgb(77, 36, 146);
/* oklch */ color: oklch(38.6% 0.168 294.1);
Tailwind
colors: {
  custom: {
    50: '#8663b3',
    500: '#4d2492',
    950: '#000000',
  },
}
SCSS
$custom: #4d2492;
$custom-light: #8663b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2492",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 262.364,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.38587,
    "c": 0.1677,
    "h": 294.1
  },
  "luminance": 0.04915
}

Semantic roles & 50–950 ramp

primary
#4D2492
secondary
#96BB57
accent
#E444A8
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4D2492

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

Preview Lab → · Contrast checker → · Palette generator →

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