#4D2B95#4D2B95

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

Color values

HEX#4D2B95
RGBrgb(77, 43, 149)
HSLhsl(259, 55%, 38%)
HSVhsv(259, 71%, 58%)
CMYKcmyk(48.3%, 71.1%, 0%, 41.6%)
CIE-LABlab(28.05, 40.93, -52.72)
CIE-LCHlch(28.05, 66.75, 307.83°)
OKLaboklab(39.77% 0.0611 -0.1511)
OKLCHoklch(39.77% 0.163 292)
XYZxyz(9.3477, 5.4751, 28.9922)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2B95 #73952B
analogous
#2B3E95 #4D2B95 #822B95
triadic
#4D2B95 #954D2B #2B954D
tetradic
#4D2B95 #952B3E #73952B #2B9582
square
#4D2B95 #952B3E #73952B #2B9582
split-complementary
#4D2B95 #95822B #3E952B
monochromatic
#1C1036 #341D66 #4D2B95 #6639C4 #8A67D3

Accessibility & contrast

On white

10.02
#4D2B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2B95
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2B95#FFFFFF#000000##FFFFFF
##4D2B951.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#004093
Tritanopia (blue-blind)
#37465D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d2b95;
/* rgb */ color: rgb(77, 43, 149);
/* oklch */ color: oklch(39.8% 0.163 292.0);
Tailwind
colors: {
  custom: {
    50: '#8667b5',
    500: '#4d2b95',
    950: '#000000',
  },
}
SCSS
$custom: #4d2b95;
$custom-light: #8667b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2b95",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 259.245,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39773,
    "c": 0.16298,
    "h": 292
  },
  "luminance": 0.05475
}

Semantic roles & 50–950 ramp

primary
#4D2B95
secondary
#9EBA62
accent
#DF49AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2B95

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

Preview Lab → · Contrast checker → · Palette generator →

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