#4D2C92#4D2C92

#4D2C92 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.7% C 0.158 H 292.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#4D2C92
RGBrgb(77, 44, 146)
HSLhsl(259, 54%, 37%)
HSVhsv(259, 70%, 57%)
CMYKcmyk(47.3%, 69.9%, 0%, 42.7%)
CIE-LABlab(27.99, 39.52, -50.97)
CIE-LCHlch(27.99, 64.50, 307.79°)
OKLaboklab(39.65% 0.0606 -0.146)
OKLCHoklch(39.65% 0.158 292.5)
XYZxyz(9.1481, 5.4542, 27.7593)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2C92 #71922C
analogous
#2C3E92 #4D2C92 #802C92
triadic
#4D2C92 #924D2C #2C924D
tetradic
#4D2C92 #922C3E #71922C #2C9280
square
#4D2C92 #922C3E #71922C #2C9280
split-complementary
#4D2C92 #92802C #3E922C
monochromatic
#1B1034 #341E63 #4D2C92 #663AC1 #8967D1

Accessibility & contrast

On white

10.04
#4D2C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4D2C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2C92
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2C92#FFFFFF#000000##FFFFFF
##4D2C921.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#004090
Tritanopia (blue-blind)
#38455B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d2c92;
/* rgb */ color: rgb(77, 44, 146);
/* oklch */ color: oklch(39.7% 0.158 292.5);
Tailwind
colors: {
  custom: {
    50: '#8568b3',
    500: '#4d2c92',
    950: '#000000',
  },
}
SCSS
$custom: #4d2c92;
$custom-light: #8568b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2c92",
  "rgb": {
    "r": 77,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 259.412,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39654,
    "c": 0.15804,
    "h": 292.5
  },
  "luminance": 0.05454
}

Semantic roles & 50–950 ramp

primary
#4D2C92
secondary
#9CB862
accent
#DD4BAE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2C92

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

Preview Lab → · Contrast checker → · Palette generator →

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