#4D2B97#4D2B97

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

Color values

HEX#4D2B97
RGBrgb(77, 43, 151)
HSLhsl(259, 56%, 38%)
HSVhsv(259, 72%, 59%)
CMYKcmyk(49%, 71.5%, 0%, 40.8%)
CIE-LABlab(28.22, 41.51, -53.67)
CIE-LCHlch(28.22, 67.85, 307.72°)
OKLaboklab(39.95% 0.0607 -0.1539)
OKLCHoklch(39.95% 0.165 291.5)
XYZxyz(9.5088, 5.5396, 29.8404)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2B97 #75972B
analogous
#2B3F97 #4D2B97 #832B97
triadic
#4D2B97 #974D2B #2B974D
tetradic
#4D2B97 #972B3F #75972B #2B9783
square
#4D2B97 #972B3F #75972B #2B9783
split-complementary
#4D2B97 #97832B #3F972B
monochromatic
#1C1038 #351D67 #4D2B97 #6539C7 #8A68D4

Accessibility & contrast

On white

9.96
#4D2B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4D2B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2B97
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2B97#FFFFFF#000000##FFFFFF
##4D2B971.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#35475E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d2b97;
/* rgb */ color: rgb(77, 43, 151);
/* oklch */ color: oklch(39.9% 0.165 291.5);
Tailwind
colors: {
  custom: {
    50: '#8667b6',
    500: '#4d2b97',
    950: '#000000',
  },
}
SCSS
$custom: #4d2b97;
$custom-light: #8667b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2b97",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 258.889,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39949,
    "c": 0.16542,
    "h": 291.5
  },
  "luminance": 0.0554
}

Semantic roles & 50–950 ramp

primary
#4D2B97
secondary
#9FBB63
accent
#DF49B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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