#4D2EA1#4D2EA1

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

Color values

HEX#4D2EA1
RGBrgb(77, 46, 161)
HSLhsl(256, 56%, 41%)
HSVhsv(256, 71%, 63%)
CMYKcmyk(52.2%, 71.4%, 0%, 36.9%)
CIE-LABlab(29.67, 42.80, -57.39)
CIE-LCHlch(29.67, 71.59, 306.72°)
OKLaboklab(41.25% 0.0559 -0.1648)
OKLCHoklch(41.25% 0.174 288.7)
XYZxyz(10.4687, 6.1045, 34.3380)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2EA1 #82A12E
analogous
#2E48A1 #4D2EA1 #862EA1
triadic
#4D2EA1 #A14D2E #2EA14D
tetradic
#4D2EA1 #A12E48 #82A12E #2EA186
square
#4D2EA1 #A12E48 #82A12E #2EA186
split-complementary
#4D2EA1 #A1862E #48A12E
monochromatic
#1F1342 #362071 #4D2EA1 #6743C9 #8E73D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D2EA1#FFFFFF#000000##FFFFFF
##4D2EA11.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)
#0048A4
Deuteranopia (green-blind)
#00439F
Tritanopia (blue-blind)
#2E4C64
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4d2ea1;
/* rgb */ color: rgb(77, 46, 161);
/* oklch */ color: oklch(41.3% 0.174 288.7);
Tailwind
colors: {
  custom: {
    50: '#8769be',
    500: '#4d2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ea1;
$custom-light: #8769be;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ea1",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 256.174,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41254,
    "c": 0.17403,
    "h": 288.7
  },
  "luminance": 0.06105
}

Semantic roles & 50–950 ramp

primary
#4D2EA1
secondary
#A8BE6C
accent
#DF49B6
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4D2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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