#4D2496#4D2496

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

Color values

HEX#4D2496
RGBrgb(77, 36, 150)
HSLhsl(262, 61%, 36%)
HSVhsv(262, 76%, 59%)
CMYKcmyk(48.7%, 76%, 0%, 41.2%)
CIE-LABlab(26.85, 44.82, -55.29)
CIE-LCHlch(26.85, 71.18, 309.03°)
OKLaboklab(38.95% 0.0674 -0.1586)
OKLCHoklch(38.95% 0.172 293)
XYZxyz(9.1949, 5.0412, 29.3368)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2496 #6D9624
analogous
#243496 #4D2496 #862496
triadic
#4D2496 #964D24 #24964D
tetradic
#4D2496 #962434 #6D9624 #249686
square
#4D2496 #962434 #6D9624 #249686
split-complementary
#4D2496 #968624 #349624
monochromatic
#1A0C33 #341865 #4D2496 #6630C7 #895CD8

Accessibility & contrast

On white

10.46
#4D2496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2496
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2496#FFFFFF#000000##FFFFFF
##4D24961.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2496;
/* rgb */ color: rgb(77, 36, 150);
/* oklch */ color: oklch(39.0% 0.172 293.0);
Tailwind
colors: {
  custom: {
    50: '#8663b6',
    500: '#4d2496',
    950: '#000000',
  },
}
SCSS
$custom: #4d2496;
$custom-light: #8663b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2496",
  "rgb": {
    "r": 77,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 261.579,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38953,
    "c": 0.17232,
    "h": 293
  },
  "luminance": 0.05042
}

Semantic roles & 50–950 ramp

primary
#4D2496
secondary
#99BD59
accent
#E443AA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4D2496

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

Preview Lab → · Contrast checker → · Palette generator →

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