#4D2189#4D2189

#4D2189 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.161 H 297.2°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#4D2189
RGBrgb(77, 33, 137)
HSLhsl(265, 61%, 33%)
HSVhsv(265, 76%, 54%)
CMYKcmyk(43.8%, 75.9%, 0%, 46.3%)
CIE-LABlab(25.17, 42.73, -49.99)
CIE-LCHlch(25.17, 65.76, 310.52°)
OKLaboklab(37.41% 0.0734 -0.143)
OKLCHoklch(37.41% 0.161 297.2)
XYZxyz(8.1186, 4.4715, 24.0974)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2189 #5D8921
analogous
#212989 #4D2189 #812189
triadic
#4D2189 #894D21 #21894D
tetradic
#4D2189 #892129 #5D8921 #218981
square
#4D2189 #892129 #5D8921 #218981
split-complementary
#4D2189 #898121 #298921
monochromatic
#160926 #311558 #4D2189 #692DBA #8850D5

Accessibility & contrast

On white

11.09
#4D2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4D2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2189
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2189#FFFFFF#000000##FFFFFF
##4D21891.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#3D3C53
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4d2189;
/* rgb */ color: rgb(77, 33, 137);
/* oklch */ color: oklch(37.4% 0.161 297.2);
Tailwind
colors: {
  custom: {
    50: '#8561ac',
    500: '#4d2189',
    950: '#000000',
  },
}
SCSS
$custom: #4d2189;
$custom-light: #8561ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2189",
  "rgb": {
    "r": 77,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 265.385,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37411,
    "c": 0.16075,
    "h": 297.2
  },
  "luminance": 0.04472
}

Semantic roles & 50–950 ramp

primary
#4D2189
secondary
#8BB84E
accent
#E444A0
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4D2189

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

Preview Lab → · Contrast checker → · Palette generator →

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