#4D2E92#4D2E92

#4D2E92 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.9% C 0.155 H 292.1°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#4D2E92
RGBrgb(77, 46, 146)
HSLhsl(259, 52%, 38%)
HSVhsv(259, 68%, 57%)
CMYKcmyk(47.3%, 68.5%, 0%, 42.7%)
CIE-LABlab(28.40, 38.40, -50.31)
CIE-LCHlch(28.40, 63.29, 307.36°)
OKLaboklab(39.95% 0.0585 -0.144)
OKLCHoklch(39.95% 0.155 292.1)
XYZxyz(9.2244, 5.6068, 27.7847)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2E92 #73922E
analogous
#2E4192 #4D2E92 #7F2E92
triadic
#4D2E92 #924D2E #2E924D
tetradic
#4D2E92 #922E41 #73922E #2E927F
square
#4D2E92 #922E41 #73922E #2E927F
split-complementary
#4D2E92 #927F2E #41922E
monochromatic
#1C1135 #341F63 #4D2E92 #663DC1 #8A6AD0

Accessibility & contrast

On white

9.90
#4D2E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4D2E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2E92
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2E92#FFFFFF#000000##FFFFFF
##4D2E921.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004495
Deuteranopia (green-blind)
#004190
Tritanopia (blue-blind)
#38465C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4d2e92;
/* rgb */ color: rgb(77, 46, 146);
/* oklch */ color: oklch(39.9% 0.155 292.1);
Tailwind
colors: {
  custom: {
    50: '#8569b3',
    500: '#4d2e92',
    950: '#000000',
  },
}
SCSS
$custom: #4d2e92;
$custom-light: #8569b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2e92",
  "rgb": {
    "r": 77,
    "g": 46,
    "b": 146
  },
  "hsl": {
    "h": 258.6,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.39945,
    "c": 0.15545,
    "h": 292.1
  },
  "luminance": 0.05607
}

Semantic roles & 50–950 ramp

primary
#4D2E92
secondary
#9EB765
accent
#DC4CAF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4D2E92

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

Preview Lab → · Contrast checker → · Palette generator →

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