#4D2391#4D2391

#4D2391 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.4% C 0.168 H 294.5°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#4D2391
RGBrgb(77, 35, 145)
HSLhsl(263, 61%, 35%)
HSVhsv(263, 76%, 57%)
CMYKcmyk(46.9%, 75.9%, 0%, 43.1%)
CIE-LABlab(26.23, 43.93, -53.23)
CIE-LCHlch(26.23, 69.02, 309.53°)
OKLaboklab(38.37% 0.0695 -0.1526)
OKLCHoklch(38.37% 0.168 294.5)
XYZxyz(8.7710, 4.8239, 27.2516)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2391 #679123
analogous
#233091 #4D2391 #842391
triadic
#4D2391 #914D23 #23914D
tetradic
#4D2391 #912330 #679123 #239184
square
#4D2391 #912330 #679123 #239184
split-complementary
#4D2391 #918423 #309123
monochromatic
#190B2E #331760 #4D2391 #672FC2 #8858D7

Accessibility & contrast

On white

10.69
#4D2391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#4D2391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2391
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2391#FFFFFF#000000##FFFFFF
##4D23911.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#394058
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4d2391;
/* rgb */ color: rgb(77, 35, 145);
/* oklch */ color: oklch(38.4% 0.168 294.5);
Tailwind
colors: {
  custom: {
    50: '#8662b2',
    500: '#4d2391',
    950: '#000000',
  },
}
SCSS
$custom: #4d2391;
$custom-light: #8662b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2391",
  "rgb": {
    "r": 77,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 262.909,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38374,
    "c": 0.16766,
    "h": 294.5
  },
  "luminance": 0.04824
}

Semantic roles & 50–950 ramp

primary
#4D2391
secondary
#94BB55
accent
#E444A7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4D2391

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

Preview Lab → · Contrast checker → · Palette generator →

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