#4D2DC0#4D2DC0

#4D2DC0 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.1% C 0.212 H 283.4°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#4D2DC0
RGBrgb(77, 45, 192)
HSLhsl(253, 62%, 46%)
HSVhsv(253, 77%, 75%)
CMYKcmyk(59.9%, 76.6%, 0%, 24.7%)
CIE-LABlab(32.39, 52.36, -71.43)
CIE-LCHlch(32.39, 88.57, 306.24°)
OKLaboklab(44.05% 0.0492 -0.2059)
OKLCHoklch(44.05% 0.212 283.4)
XYZxyz(13.5104, 7.2594, 50.5482)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2DC0 #A0C02D
analogous
#2D57C0 #4D2DC0 #972DC0
triadic
#4D2DC0 #C04D2D #2DC04D
tetradic
#4D2DC0 #C02D57 #A0C02D #2DC097
square
#4D2DC0 #C02D57 #A0C02D #2DC097
split-complementary
#4D2DC0 #C0972D #57C02D
monochromatic
#25165D #39218E #4D2DC0 #7053D7 #9985E2

Accessibility & contrast

On white

8.56
#4D2DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4D2DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2DC0
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2DC0#FFFFFF#000000##FFFFFF
##4D2DC01.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C4
Deuteranopia (green-blind)
#0047BD
Tritanopia (blue-blind)
#005775
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d2dc0;
/* rgb */ color: rgb(77, 45, 192);
/* oklch */ color: oklch(44.1% 0.212 283.4);
Tailwind
colors: {
  custom: {
    50: '#8c6ad4',
    500: '#4d2dc0',
    950: '#000000',
  },
}
SCSS
$custom: #4d2dc0;
$custom-light: #8c6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2dc0",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 253.061,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44052,
    "c": 0.21172,
    "h": 283.4
  },
  "luminance": 0.0726
}

Semantic roles & 50–950 ramp

primary
#4D2DC0
secondary
#BBCC7D
accent
#E543C2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4D2DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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