#4D2DC1#4D2DC1

#4D2DC1 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.2% C 0.213 H 283.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#4D2DC1
RGBrgb(77, 45, 193)
HSLhsl(253, 62%, 47%)
HSVhsv(253, 77%, 76%)
CMYKcmyk(60.1%, 76.7%, 0%, 24.3%)
CIE-LABlab(32.49, 52.65, -71.86)
CIE-LCHlch(32.49, 89.08, 306.23°)
OKLaboklab(44.15% 0.049 -0.2071)
OKLCHoklch(44.15% 0.213 283.3)
XYZxyz(13.6216, 7.3039, 51.1337)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2DC1 #A1C12D
analogous
#2D57C1 #4D2DC1 #972DC1
triadic
#4D2DC1 #C14D2D #2DC14D
tetradic
#4D2DC1 #C12D57 #A1C12D #2DC197
square
#4D2DC1 #C12D57 #A1C12D #2DC197
split-complementary
#4D2DC1 #C1972D #57C12D
monochromatic
#25165E #39218F #4D2DC1 #7054D7 #9A86E3

Accessibility & contrast

On white

8.53
#4D2DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#4D2DC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2DC1
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2DC1#FFFFFF#000000##FFFFFF
##4D2DC11.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C5
Deuteranopia (green-blind)
#0047BE
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4d2dc1;
/* rgb */ color: rgb(77, 45, 193);
/* oklch */ color: oklch(44.2% 0.213 283.3);
Tailwind
colors: {
  custom: {
    50: '#8d6ad5',
    500: '#4d2dc1',
    950: '#000000',
  },
}
SCSS
$custom: #4d2dc1;
$custom-light: #8d6ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2dc1",
  "rgb": {
    "r": 77,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 252.973,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44151,
    "c": 0.21286,
    "h": 283.3
  },
  "luminance": 0.07305
}

Semantic roles & 50–950 ramp

primary
#4D2DC1
secondary
#BBCC7E
accent
#E543C2
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0E0714
muted
#7E7A83

Preview Lab

Preview with #4D2DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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