#4D2CB6#4D2CB6

#4D2CB6 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.0% C 0.201 H 285.2°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#4D2CB6
RGBrgb(77, 44, 182)
HSLhsl(254, 61%, 44%)
HSVhsv(254, 76%, 71%)
CMYKcmyk(57.7%, 75.8%, 0%, 28.6%)
CIE-LABlab(31.24, 49.96, -67.41)
CIE-LCHlch(31.24, 83.91, 306.55°)
OKLaboklab(42.96% 0.0526 -0.1941)
OKLCHoklch(42.96% 0.201 285.2)
XYZxyz(12.4022, 6.7558, 44.8974)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2CB6 #95B62C
analogous
#2C50B6 #4D2CB6 #922CB6
triadic
#4D2CB6 #B64D2C #2CB64D
tetradic
#4D2CB6 #B62C50 #95B62C #2CB692
square
#4D2CB6 #B62C50 #95B62C #2CB692
split-complementary
#4D2CB6 #B6922C #50B62C
monochromatic
#231453 #382085 #4D2CB6 #6C4CD4 #947DE0

Accessibility & contrast

On white

8.93
#4D2CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2CB6
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2CB6#FFFFFF#000000##FFFFFF
##4D2CB61.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#15536F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4d2cb6;
/* rgb */ color: rgb(77, 44, 182);
/* oklch */ color: oklch(43.0% 0.201 285.2);
Tailwind
colors: {
  custom: {
    50: '#8b69cd',
    500: '#4d2cb6',
    950: '#000000',
  },
}
SCSS
$custom: #4d2cb6;
$custom-light: #8b69cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2cb6",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 254.348,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42955,
    "c": 0.20114,
    "h": 285.2
  },
  "luminance": 0.06757
}

Semantic roles & 50–950 ramp

primary
#4D2CB6
secondary
#B4C876
accent
#E444BE
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4D2CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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