#4D2C8F#4D2C8F

#4D2C8F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.4% C 0.154 H 293.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#4D2C8F
RGBrgb(77, 44, 143)
HSLhsl(260, 53%, 37%)
HSVhsv(260, 69%, 56%)
CMYKcmyk(46.2%, 69.2%, 0%, 43.9%)
CIE-LABlab(27.74, 38.66, -49.53)
CIE-LCHlch(27.74, 62.83, 307.97°)
OKLaboklab(39.4% 0.0611 -0.1417)
OKLCHoklch(39.4% 0.154 293.3)
XYZxyz(8.9178, 5.3620, 26.5464)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2C8F #6E8F2C
analogous
#2C3D8F #4D2C8F #7F2C8F
triadic
#4D2C8F #8F4D2C #2C8F4D
tetradic
#4D2C8F #8F2C3D #6E8F2C #2C8F7F
square
#4D2C8F #8F2C3D #6E8F2C #2C8F7F
split-complementary
#4D2C8F #8F7F2C #3D8F2C
monochromatic
#1B0F31 #341E60 #4D2C8F #663ABE #8966D0

Accessibility & contrast

On white

10.13
#4D2C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4D2C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2C8F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2C8F#FFFFFF#000000##FFFFFF
##4D2C8F1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#3A445A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d2c8f;
/* rgb */ color: rgb(77, 44, 143);
/* oklch */ color: oklch(39.4% 0.154 293.3);
Tailwind
colors: {
  custom: {
    50: '#8568b1',
    500: '#4d2c8f',
    950: '#000000',
  },
}
SCSS
$custom: #4d2c8f;
$custom-light: #8568b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2c8f",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 260,
    "s": 52.941,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39397,
    "c": 0.15432,
    "h": 293.3
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

primary
#4D2C8F
secondary
#9AB661
accent
#DC4BAC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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