#4D2989#4D2989

#4D2989 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.5% C 0.151 H 295.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#4D2989
RGBrgb(77, 41, 137)
HSLhsl(263, 54%, 35%)
HSVhsv(263, 70%, 54%)
CMYKcmyk(43.8%, 70.1%, 0%, 46.3%)
CIE-LABlab(26.65, 38.60, -47.58)
CIE-LCHlch(26.65, 61.27, 309.05°)
OKLaboklab(38.46% 0.0653 -0.136)
OKLCHoklch(38.46% 0.151 295.6)
XYZxyz(8.3677, 4.9696, 24.1804)
Luminance0.0497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D2989 #658929
analogous
#293589 #4D2989 #7D2989
triadic
#4D2989 #894D29 #29894D
tetradic
#4D2989 #892935 #658929 #29897D
square
#4D2989 #892935 #658929 #29897D
split-complementary
#4D2989 #897D29 #358929
monochromatic
#180D2B #331B5A #4D2989 #6737B8 #885ECF

Accessibility & contrast

On white

10.53
#4D2989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4D2989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D2989
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D2989#FFFFFF#000000##FFFFFF
##4D29891.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408C
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#3D4055
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4d2989;
/* rgb */ color: rgb(77, 41, 137);
/* oklch */ color: oklch(38.5% 0.151 295.6);
Tailwind
colors: {
  custom: {
    50: '#8465ac',
    500: '#4d2989',
    950: '#000000',
  },
}
SCSS
$custom: #4d2989;
$custom-light: #8465ac;
$custom-dark: #000000;
JSON
{
  "hex": "#4d2989",
  "rgb": {
    "r": 77,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 262.5,
    "s": 53.933,
    "l": 34.902
  },
  "oklch": {
    "l": 0.38459,
    "c": 0.15085,
    "h": 295.6
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#4D2989
secondary
#92B45A
accent
#DD4AA6
background
#F8F6FA
surface
#F0EBF4
border
#CBC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #4D2989

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

Preview Lab → · Contrast checker → · Palette generator →

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