#4D2CB5#4D2CB5

#4D2CB5 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.200 H 285.3°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#4D2CB5
RGBrgb(77, 44, 181)
HSLhsl(254, 61%, 44%)
HSVhsv(254, 76%, 71%)
CMYKcmyk(57.5%, 75.7%, 0%, 29%)
CIE-LABlab(31.15, 49.68, -66.97)
CIE-LCHlch(31.15, 83.38, 306.57°)
OKLaboklab(42.86% 0.0529 -0.1929)
OKLCHoklch(42.86% 0.2 285.3)
XYZxyz(12.2992, 6.7146, 44.3551)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2CB5 #94B52C
analogous
#2C4FB5 #4D2CB5 #922CB5
triadic
#4D2CB5 #B54D2C #2CB54D
tetradic
#4D2CB5 #B52C4F #94B52C #2CB592
square
#4D2CB5 #B52C4F #94B52C #2CB592
split-complementary
#4D2CB5 #B5922C #4FB52C
monochromatic
#231453 #382084 #4D2CB5 #6C4BD3 #947CDF

Accessibility & contrast

On white

8.96
#4D2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4D2CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2CB5
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2CB5#FFFFFF#000000##FFFFFF
##4D2CB51.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#17536F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d2cb5;
/* rgb */ color: rgb(77, 44, 181);
/* oklch */ color: oklch(42.9% 0.200 285.3);
Tailwind
colors: {
  custom: {
    50: '#8b69cc',
    500: '#4d2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #4d2cb5;
$custom-light: #8b69cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2cb5",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 254.453,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42859,
    "c": 0.19998,
    "h": 285.3
  },
  "luminance": 0.06715
}

Semantic roles & 50–950 ramp

primary
#4D2CB5
secondary
#B4C875
accent
#E444BD
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4D2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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