#4D2D90#4D2D90

#4D2D90 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.154 H 292.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#4D2D90
RGBrgb(77, 45, 144)
HSLhsl(259, 52%, 37%)
HSVhsv(259, 69%, 56%)
CMYKcmyk(46.5%, 68.7%, 0%, 43.5%)
CIE-LABlab(28.03, 38.39, -49.68)
CIE-LCHlch(28.03, 62.78, 307.69°)
OKLaboklab(39.63% 0.0599 -0.1422)
OKLCHoklch(39.63% 0.154 292.8)
XYZxyz(9.0316, 5.4679, 26.9597)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2D90 #70902D
analogous
#2D3F90 #4D2D90 #7F2D90
triadic
#4D2D90 #904D2D #2D904D
tetradic
#4D2D90 #902D3F #70902D #2D907F
square
#4D2D90 #902D3F #70902D #2D907F
split-complementary
#4D2D90 #907F2D #3F902D
monochromatic
#1B1033 #341E61 #4D2D90 #663CBF #8968D0

Accessibility & contrast

On white

10.03
#4D2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4D2D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2D90
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2D90#FFFFFF#000000##FFFFFF
##4D2D901.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004393
Deuteranopia (green-blind)
#00408E
Tritanopia (blue-blind)
#39455A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d2d90;
/* rgb */ color: rgb(77, 45, 144);
/* oklch */ color: oklch(39.6% 0.154 292.8);
Tailwind
colors: {
  custom: {
    50: '#8568b1',
    500: '#4d2d90',
    950: '#000000',
  },
}
SCSS
$custom: #4d2d90;
$custom-light: #8568b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2d90",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 259.394,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39628,
    "c": 0.15425,
    "h": 292.8
  },
  "luminance": 0.05468
}

Semantic roles & 50–950 ramp

primary
#4D2D90
secondary
#9BB662
accent
#DC4CAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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