#4D2AB9#4D2AB9

#4D2AB9 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 43.0% C 0.206 H 284.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#4D2AB9
RGBrgb(77, 42, 185)
HSLhsl(255, 63%, 45%)
HSVhsv(255, 77%, 73%)
CMYKcmyk(58.4%, 77.3%, 0%, 27.5%)
CIE-LABlab(31.20, 51.80, -69.26)
CIE-LCHlch(31.20, 86.49, 306.79°)
OKLaboklab(43.01% 0.0531 -0.1995)
OKLCHoklch(43.01% 0.207 284.9)
XYZxyz(12.6428, 6.7357, 46.5235)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2AB9 #96B92A
analogous
#2A4FB9 #4D2AB9 #952AB9
triadic
#4D2AB9 #B94D2A #2AB94D
tetradic
#4D2AB9 #B92A4F #96B92A #2AB995
square
#4D2AB9 #B92A4F #96B92A #2AB995
split-complementary
#4D2AB9 #B9952A #4FB92A
monochromatic
#231355 #381F87 #4D2AB9 #6C4AD6 #957CE1

Accessibility & contrast

On white

8.95
#4D2AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4D2AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2AB9
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2AB9#FFFFFF#000000##FFFFFF
##4D2AB91.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBD
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#0F5371
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4d2ab9;
/* rgb */ color: rgb(77, 42, 185);
/* oklch */ color: oklch(43.0% 0.206 284.9);
Tailwind
colors: {
  custom: {
    50: '#8b68cf',
    500: '#4d2ab9',
    950: '#000000',
  },
}
SCSS
$custom: #4d2ab9;
$custom-light: #8b68cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2ab9",
  "rgb": {
    "r": 77,
    "g": 42,
    "b": 185
  },
  "hsl": {
    "h": 254.685,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43011,
    "c": 0.2065,
    "h": 284.9
  },
  "luminance": 0.06736
}

Semantic roles & 50–950 ramp

primary
#4D2AB9
secondary
#B5CA75
accent
#E642BE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4D2AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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