#4D2B96#4D2B96

#4D2B96 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.164 H 291.8°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#4D2B96
RGBrgb(77, 43, 150)
HSLhsl(259, 55%, 38%)
HSVhsv(259, 71%, 59%)
CMYKcmyk(48.7%, 71.3%, 0%, 41.2%)
CIE-LABlab(28.13, 41.22, -53.20)
CIE-LCHlch(28.13, 67.30, 307.77°)
OKLaboklab(39.86% 0.0609 -0.1525)
OKLCHoklch(39.86% 0.164 291.8)
XYZxyz(9.4279, 5.5072, 29.4145)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2B96 #74962B
analogous
#2B3F96 #4D2B96 #822B96
triadic
#4D2B96 #964D2B #2B964D
tetradic
#4D2B96 #962B3F #74962B #2B9682
square
#4D2B96 #962B3F #74962B #2B9682
split-complementary
#4D2B96 #96822B #3F962B
monochromatic
#1C1037 #351D66 #4D2B96 #6539C6 #8A68D4

Accessibility & contrast

On white

9.99
#4D2B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4D2B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2B96
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2B96#FFFFFF#000000##FFFFFF
##4D2B961.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#36465D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d2b96;
/* rgb */ color: rgb(77, 43, 150);
/* oklch */ color: oklch(39.9% 0.164 291.8);
Tailwind
colors: {
  custom: {
    50: '#8667b6',
    500: '#4d2b96',
    950: '#000000',
  },
}
SCSS
$custom: #4d2b96;
$custom-light: #8667b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2b96",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 259.065,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39861,
    "c": 0.1642,
    "h": 291.8
  },
  "luminance": 0.05508
}

Semantic roles & 50–950 ramp

primary
#4D2B96
secondary
#9EBA63
accent
#DF49AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2B96

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

Preview Lab → · Contrast checker → · Palette generator →

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