#4D2AB4#4D2AB4

#4D2AB4 is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 42.5% C 0.201 H 285.8°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#4D2AB4
RGBrgb(77, 42, 180)
HSLhsl(255, 62%, 44%)
HSVhsv(255, 77%, 71%)
CMYKcmyk(57.2%, 76.7%, 0%, 29.4%)
CIE-LABlab(30.71, 50.37, -67.10)
CIE-LCHlch(30.71, 83.90, 306.89°)
OKLaboklab(42.52% 0.0545 -0.1932)
OKLCHoklch(42.52% 0.201 285.8)
XYZxyz(12.1243, 6.5283, 43.7924)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2AB4 #91B42A
analogous
#2A4CB4 #4D2AB4 #922AB4
triadic
#4D2AB4 #B44D2A #2AB44D
tetradic
#4D2AB4 #B42A4C #91B42A #2AB492
square
#4D2AB4 #B42A4C #91B42A #2AB492
split-complementary
#4D2AB4 #B4922A #4CB42A
monochromatic
#231351 #381E82 #4D2AB4 #6B47D4 #9379E0

Accessibility & contrast

On white

9.11
#4D2AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4D2AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2AB4
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2AB4#FFFFFF#000000##FFFFFF
##4D2AB41.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#19516E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d2ab4;
/* rgb */ color: rgb(77, 42, 180);
/* oklch */ color: oklch(42.5% 0.201 285.8);
Tailwind
colors: {
  custom: {
    50: '#8b68cc',
    500: '#4d2ab4',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ab4;
$custom-light: #8b68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ab4",
  "rgb": {
    "r": 77,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 255.217,
    "s": 62.162,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42521,
    "c": 0.20078,
    "h": 285.8
  },
  "luminance": 0.06529
}

Semantic roles & 50–950 ramp

primary
#4D2AB4
secondary
#B2C872
accent
#E543BC
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4D2AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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