#4D2E90#4D2E90

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

Color values

HEX#4D2E90
RGBrgb(77, 46, 144)
HSLhsl(259, 52%, 37%)
HSVhsv(259, 68%, 56%)
CMYKcmyk(46.5%, 68.1%, 0%, 43.5%)
CIE-LABlab(28.23, 37.82, -49.34)
CIE-LCHlch(28.23, 62.17, 307.47°)
OKLaboklab(39.78% 0.0588 -0.1412)
OKLCHoklch(39.78% 0.153 292.6)
XYZxyz(9.0702, 5.5451, 26.9726)
Luminance0.0554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E90 #71902E
analogous
#2E4090 #4D2E90 #7E2E90
triadic
#4D2E90 #904D2E #2E904D
tetradic
#4D2E90 #902E40 #71902E #2E907E
square
#4D2E90 #902E40 #71902E #2E907E
split-complementary
#4D2E90 #907E2E #40902E
monochromatic
#1B1033 #341F62 #4D2E90 #663DBE #8969CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D2E90#FFFFFF#000000##FFFFFF
##4D2E901.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)
#004493
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#39465B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d2e90;
/* rgb */ color: rgb(77, 46, 144);
/* oklch */ color: oklch(39.8% 0.153 292.6);
Tailwind
colors: {
  custom: {
    50: '#8569b1',
    500: '#4d2e90',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e90;
$custom-light: #8569b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e90",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 258.98,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39777,
    "c": 0.15293,
    "h": 292.6
  },
  "luminance": 0.05545
}

Semantic roles & 50–950 ramp

primary
#4D2E90
secondary
#9CB664
accent
#DB4DAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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