#4D2D92#4D2D92

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

Color values

HEX#4D2D92
RGBrgb(77, 45, 146)
HSLhsl(259, 53%, 37%)
HSVhsv(259, 69%, 57%)
CMYKcmyk(47.3%, 69.2%, 0%, 42.7%)
CIE-LABlab(28.19, 38.97, -50.64)
CIE-LCHlch(28.19, 63.90, 307.58°)
OKLaboklab(39.8% 0.0596 -0.145)
OKLCHoklch(39.8% 0.157 292.3)
XYZxyz(9.1858, 5.5296, 27.7719)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2D92 #72922D
analogous
#2D3F92 #4D2D92 #802D92
triadic
#4D2D92 #924D2D #2D924D
tetradic
#4D2D92 #922D3F #72922D #2D9280
square
#4D2D92 #922D3F #72922D #2D9280
split-complementary
#4D2D92 #92802D #3F922D
monochromatic
#1C1034 #341F63 #4D2D92 #663BC1 #8A69D1

Accessibility & contrast

On white

9.97
#4D2D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2D92
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2D92#FFFFFF#000000##FFFFFF
##4D2D921.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#38465C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d2d92;
/* rgb */ color: rgb(77, 45, 146);
/* oklch */ color: oklch(39.8% 0.157 292.3);
Tailwind
colors: {
  custom: {
    50: '#8568b3',
    500: '#4d2d92',
    950: '#000000',
  },
}
SCSS
$custom: #4d2d92;
$custom-light: #8568b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2d92",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 146
  },
  "hsl": {
    "h": 259.01,
    "s": 52.88,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39798,
    "c": 0.15676,
    "h": 292.3
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D2D92

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

Preview Lab → · Contrast checker → · Palette generator →

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