#4D2C95#4D2C95

#4D2C95 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.9% C 0.162 H 291.8°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#4D2C95
RGBrgb(77, 44, 149)
HSLhsl(259, 54%, 38%)
HSVhsv(259, 70%, 58%)
CMYKcmyk(48.3%, 70.5%, 0%, 41.6%)
CIE-LABlab(28.24, 40.39, -52.40)
CIE-LCHlch(28.24, 66.16, 307.62°)
OKLaboklab(39.91% 0.0601 -0.1502)
OKLCHoklch(39.91% 0.162 291.8)
XYZxyz(9.3845, 5.5487, 29.0045)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2C95 #74952C
analogous
#2C4095 #4D2C95 #812C95
triadic
#4D2C95 #954D2C #2C954D
tetradic
#4D2C95 #952C40 #74952C #2C9581
square
#4D2C95 #952C40 #74952C #2C9581
split-complementary
#4D2C95 #95812C #40952C
monochromatic
#1C1037 #351E66 #4D2C95 #653AC4 #8A69D3

Accessibility & contrast

On white

9.95
#4D2C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2C95
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2C95#FFFFFF#000000##FFFFFF
##4D2C951.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2c95;
/* rgb */ color: rgb(77, 44, 149);
/* oklch */ color: oklch(39.9% 0.162 291.8);
Tailwind
colors: {
  custom: {
    50: '#8668b5',
    500: '#4d2c95',
    950: '#000000',
  },
}
SCSS
$custom: #4d2c95;
$custom-light: #8668b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2c95",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 258.857,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.39913,
    "c": 0.16174,
    "h": 291.8
  },
  "luminance": 0.05549
}

Semantic roles & 50–950 ramp

primary
#4D2C95
secondary
#9EB964
accent
#DE4AAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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