#4D2B92#4D2B92

#4D2B92 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.159 H 292.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#4D2B92
RGBrgb(77, 43, 146)
HSLhsl(260, 54%, 37%)
HSVhsv(260, 71%, 57%)
CMYKcmyk(47.3%, 70.5%, 0%, 42.7%)
CIE-LABlab(27.79, 40.07, -51.29)
CIE-LCHlch(27.79, 65.09, 308.00°)
OKLaboklab(39.51% 0.0616 -0.1469)
OKLCHoklch(39.51% 0.159 292.8)
XYZxyz(9.1113, 5.3806, 27.7470)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2B92 #70922B
analogous
#2B3D92 #4D2B92 #812B92
triadic
#4D2B92 #924D2B #2B924D
tetradic
#4D2B92 #922B3D #70922B #2B9281
square
#4D2B92 #922B3D #70922B #2B9281
split-complementary
#4D2B92 #92812B #3D922B
monochromatic
#1B0F33 #341D63 #4D2B92 #6639C1 #8966D2

Accessibility & contrast

On white

10.11
#4D2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4D2B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2B92
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2B92#FFFFFF#000000##FFFFFF
##4D2B921.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.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: #4d2b92;
/* rgb */ color: rgb(77, 43, 146);
/* oklch */ color: oklch(39.5% 0.159 292.8);
Tailwind
colors: {
  custom: {
    50: '#8567b3',
    500: '#4d2b92',
    950: '#000000',
  },
}
SCSS
$custom: #4d2b92;
$custom-light: #8567b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2b92",
  "rgb": {
    "r": 77,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 259.806,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.39512,
    "c": 0.15931,
    "h": 292.8
  },
  "luminance": 0.05381
}

Semantic roles & 50–950 ramp

primary
#4D2B92
secondary
#9BB861
accent
#DE4AAD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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