#4D2CB9#4D2CB9

#4D2CB9 is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.2% C 0.205 H 284.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#4D2CB9
RGBrgb(77, 44, 185)
HSLhsl(254, 62%, 45%)
HSVhsv(254, 76%, 73%)
CMYKcmyk(58.4%, 76.2%, 0%, 27.5%)
CIE-LABlab(31.53, 50.83, -68.71)
CIE-LCHlch(31.53, 85.47, 306.49°)
OKLaboklab(43.25% 0.0518 -0.1979)
OKLCHoklch(43.25% 0.205 284.7)
XYZxyz(12.7155, 6.8811, 46.5477)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2CB9 #98B92C
analogous
#2C51B9 #4D2CB9 #942CB9
triadic
#4D2CB9 #B94D2C #2CB94D
tetradic
#4D2CB9 #B92C51 #98B92C #2CB994
square
#4D2CB9 #B92C51 #98B92C #2CB994
split-complementary
#4D2CB9 #B9942C #51B92C
monochromatic
#241456 #382088 #4D2CB9 #6D4DD5 #967FE1

Accessibility & contrast

On white

8.84
#4D2CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4D2CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2CB9
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2CB9#FFFFFF#000000##FFFFFF
##4D2CB91.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBD
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#0E5471
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4d2cb9;
/* rgb */ color: rgb(77, 44, 185);
/* oklch */ color: oklch(43.2% 0.205 284.7);
Tailwind
colors: {
  custom: {
    50: '#8b69cf',
    500: '#4d2cb9',
    950: '#000000',
  },
}
SCSS
$custom: #4d2cb9;
$custom-light: #8b69cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2cb9",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 254.043,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43247,
    "c": 0.20461,
    "h": 284.7
  },
  "luminance": 0.06882
}

Semantic roles & 50–950 ramp

primary
#4D2CB9
secondary
#B6C978
accent
#E543BF
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4D2CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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