#4D2E91#4D2E91

#4D2E91 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.154 H 292.4°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#4D2E91
RGBrgb(77, 46, 145)
HSLhsl(259, 52%, 37%)
HSVhsv(259, 68%, 57%)
CMYKcmyk(46.9%, 68.3%, 0%, 43.1%)
CIE-LABlab(28.32, 38.11, -49.83)
CIE-LCHlch(28.32, 62.73, 307.41°)
OKLaboklab(39.86% 0.0587 -0.1426)
OKLCHoklch(39.86% 0.154 292.4)
XYZxyz(9.1470, 5.5758, 27.3769)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E91 #72912E
analogous
#2E4191 #4D2E91 #7E2E91
triadic
#4D2E91 #914D2E #2E914D
tetradic
#4D2E91 #912E41 #72912E #2E917E
square
#4D2E91 #912E41 #72912E #2E917E
split-complementary
#4D2E91 #917E2E #41912E
monochromatic
#1C1134 #341F63 #4D2E91 #663DBF #8A6AD0

Accessibility & contrast

On white

9.93
#4D2E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4D2E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2E91
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2E91#FFFFFF#000000##FFFFFF
##4D2E911.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004494
Deuteranopia (green-blind)
#00418F
Tritanopia (blue-blind)
#39465B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d2e91;
/* rgb */ color: rgb(77, 46, 145);
/* oklch */ color: oklch(39.9% 0.154 292.4);
Tailwind
colors: {
  custom: {
    50: '#8569b2',
    500: '#4d2e91',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e91;
$custom-light: #8569b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e91",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 258.788,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39861,
    "c": 0.15419,
    "h": 292.4
  },
  "luminance": 0.05576
}

Semantic roles & 50–950 ramp

primary
#4D2E91
secondary
#9DB764
accent
#DB4DAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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