#4D2D91#4D2D91

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

Color values

HEX#4D2D91
RGBrgb(77, 45, 145)
HSLhsl(259, 53%, 37%)
HSVhsv(259, 69%, 57%)
CMYKcmyk(46.9%, 69%, 0%, 43.1%)
CIE-LABlab(28.11, 38.68, -50.16)
CIE-LCHlch(28.11, 63.34, 307.63°)
OKLaboklab(39.71% 0.0597 -0.1436)
OKLCHoklch(39.71% 0.156 292.6)
XYZxyz(9.1084, 5.4986, 27.3640)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2D91 #71912D
analogous
#2D3F91 #4D2D91 #7F2D91
triadic
#4D2D91 #914D2D #2D914D
tetradic
#4D2D91 #912D3F #71912D #2D917F
square
#4D2D91 #912D3F #71912D #2D917F
split-complementary
#4D2D91 #917F2D #3F912D
monochromatic
#1B1034 #341F62 #4D2D91 #663BC0 #8968D0

Accessibility & contrast

On white

10.00
#4D2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2D91
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2D91#FFFFFF#000000##FFFFFF
##4D2D911.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2d91;
/* rgb */ color: rgb(77, 45, 145);
/* oklch */ color: oklch(39.7% 0.155 292.6);
Tailwind
colors: {
  custom: {
    50: '#8568b2',
    500: '#4d2d91',
    950: '#000000',
  },
}
SCSS
$custom: #4d2d91;
$custom-light: #8568b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2d91",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 259.2,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39713,
    "c": 0.1555,
    "h": 292.6
  },
  "luminance": 0.05499
}

Semantic roles & 50–950 ramp

primary
#4D2D91
secondary
#9CB763
accent
#DC4CAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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