#4D2A92#4D2A92

#4D2A92 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.161 H 293.0°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4D2A92
RGBrgb(77, 42, 146)
HSLhsl(260, 55%, 37%)
HSVhsv(260, 71%, 57%)
CMYKcmyk(47.3%, 71.2%, 0%, 42.7%)
CIE-LABlab(27.60, 40.61, -51.61)
CIE-LCHlch(27.60, 65.68, 308.20°)
OKLaboklab(39.37% 0.0626 -0.1478)
OKLCHoklch(39.37% 0.161 293)
XYZxyz(9.0754, 5.3087, 27.7351)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2A92 #6F922A
analogous
#2A3B92 #4D2A92 #812A92
triadic
#4D2A92 #924D2A #2A924D
tetradic
#4D2A92 #922A3B #6F922A #2A9281
square
#4D2A92 #922A3B #6F922A #2A9281
split-complementary
#4D2A92 #92812A #3B922A
monochromatic
#1B0F33 #341C62 #4D2A92 #6638C2 #8964D2

Accessibility & contrast

On white

10.19
#4D2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4D2A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2A92
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2A92#FFFFFF#000000##FFFFFF
##4D2A921.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003F90
Tritanopia (blue-blind)
#38445B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4d2a92;
/* rgb */ color: rgb(77, 42, 146);
/* oklch */ color: oklch(39.4% 0.161 293.0);
Tailwind
colors: {
  custom: {
    50: '#8566b3',
    500: '#4d2a92',
    950: '#000000',
  },
}
SCSS
$custom: #4d2a92;
$custom-light: #8566b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2a92",
  "rgb": {
    "r": 77,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 260.192,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39372,
    "c": 0.16056,
    "h": 293
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#4D2A92
secondary
#9AB85F
accent
#DF49AC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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