#4D2089#4D2089

#4D2089 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.162 H 297.3°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#4D2089
RGBrgb(77, 32, 137)
HSLhsl(266, 62%, 33%)
HSVhsv(266, 77%, 54%)
CMYKcmyk(43.8%, 76.6%, 0%, 46.3%)
CIE-LABlab(25.00, 43.21, -50.26)
CIE-LCHlch(25.00, 66.28, 310.69°)
OKLaboklab(37.29% 0.0743 -0.1438)
OKLCHoklch(37.29% 0.162 297.3)
XYZxyz(8.0913, 4.4168, 24.0883)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2089 #5C8920
analogous
#202889 #4D2089 #812089
triadic
#4D2089 #894D20 #20894D
tetradic
#4D2089 #892028 #5C8920 #208981
square
#4D2089 #892028 #5C8920 #208981
split-complementary
#4D2089 #898120 #288920
monochromatic
#150926 #311457 #4D2089 #692CBB #884ED6

Accessibility & contrast

On white

11.15
#4D2089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4D2089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2089
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2089#FFFFFF#000000##FFFFFF
##4D20891.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d2089;
/* rgb */ color: rgb(77, 32, 137);
/* oklch */ color: oklch(37.3% 0.162 297.3);
Tailwind
colors: {
  custom: {
    50: '#8560ac',
    500: '#4d2089',
    950: '#000000',
  },
}
SCSS
$custom: #4d2089;
$custom-light: #8560ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2089",
  "rgb": {
    "r": 77,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 265.714,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.37293,
    "c": 0.16189,
    "h": 297.3
  },
  "luminance": 0.04417
}

Semantic roles & 50–950 ramp

primary
#4D2089
secondary
#8AB94C
accent
#E543A0
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4D2089

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

Preview Lab → · Contrast checker → · Palette generator →

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