#4D2B94#4D2B94

#4D2B94 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.162 H 292.3°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#4D2B94
RGBrgb(77, 43, 148)
HSLhsl(259, 55%, 37%)
HSVhsv(259, 71%, 58%)
CMYKcmyk(48%, 70.9%, 0%, 42%)
CIE-LABlab(27.96, 40.65, -52.25)
CIE-LCHlch(27.96, 66.20, 307.88°)
OKLaboklab(39.68% 0.0613 -0.1497)
OKLCHoklch(39.68% 0.162 292.3)
XYZxyz(9.2683, 5.4433, 28.5736)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2B94 #72942B
analogous
#2B3D94 #4D2B94 #822B94
triadic
#4D2B94 #944D2B #2B944D
tetradic
#4D2B94 #942B3D #72942B #2B9482
square
#4D2B94 #942B3D #72942B #2B9482
split-complementary
#4D2B94 #94822B #3D942B
monochromatic
#1C0F35 #341D65 #4D2B94 #6639C3 #8A67D3

Accessibility & contrast

On white

10.05
#4D2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4D2B94
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2B94#FFFFFF#000000##FFFFFF
##4D2B941.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#004092
Tritanopia (blue-blind)
#37465C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4d2b94;
/* rgb */ color: rgb(77, 43, 148);
/* oklch */ color: oklch(39.7% 0.162 292.3);
Tailwind
colors: {
  custom: {
    50: '#8667b4',
    500: '#4d2b94',
    950: '#000000',
  },
}
SCSS
$custom: #4d2b94;
$custom-light: #8667b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2b94",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 259.429,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39685,
    "c": 0.16176,
    "h": 292.3
  },
  "luminance": 0.05444
}

Semantic roles & 50–950 ramp

primary
#4D2B94
secondary
#9DB962
accent
#DE49AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2B94

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

Preview Lab → · Contrast checker → · Palette generator →

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