#4D2CA5#4D2CA5

#4D2CA5 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.3% C 0.181 H 288.3°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#4D2CA5
RGBrgb(77, 44, 165)
HSLhsl(256, 58%, 41%)
HSVhsv(256, 73%, 65%)
CMYKcmyk(53.3%, 73.3%, 0%, 35.3%)
CIE-LABlab(29.65, 45.03, -59.84)
CIE-LCHlch(29.65, 74.90, 306.96°)
OKLaboklab(41.35% 0.0568 -0.172)
OKLCHoklch(41.35% 0.181 288.3)
XYZxyz(10.7508, 6.0952, 36.2000)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2CA5 #84A52C
analogous
#2C47A5 #4D2CA5 #892CA5
triadic
#4D2CA5 #A54D2C #2CA54D
tetradic
#4D2CA5 #A52C47 #84A52C #2CA589
square
#4D2CA5 #A52C47 #84A52C #2CA589
split-complementary
#4D2CA5 #A5892C #47A52C
monochromatic
#201244 #361F75 #4D2CA5 #6842CD #8E72D9

Accessibility & contrast

On white

9.46
#4D2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4D2CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2CA5
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2CA5#FFFFFF#000000##FFFFFF
##4D2CA51.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0043A3
Tritanopia (blue-blind)
#2B4C66
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d2ca5;
/* rgb */ color: rgb(77, 44, 165);
/* oklch */ color: oklch(41.3% 0.181 288.3);
Tailwind
colors: {
  custom: {
    50: '#8868c1',
    500: '#4d2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ca5;
$custom-light: #8868c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ca5",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 256.364,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41348,
    "c": 0.18113,
    "h": 288.3
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#4D2CA5
secondary
#AAC16C
accent
#E147B7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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