#4D3489#4D3489

#4D3489 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.2% C 0.135 H 292.8°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#4D3489
RGBrgb(77, 52, 137)
HSLhsl(258, 45%, 37%)
HSVhsv(258, 62%, 54%)
CMYKcmyk(43.8%, 62%, 0%, 46.3%)
CIE-LABlab(29.00, 32.23, -43.76)
CIE-LCHlch(29.00, 54.35, 306.37°)
OKLaboklab(40.16% 0.0525 -0.1248)
OKLCHoklch(40.16% 0.135 292.8)
XYZxyz(8.8027, 5.8397, 24.3254)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D3489 #708934
analogous
#344689 #4D3489 #783489
triadic
#4D3489 #894D34 #34894D
tetradic
#4D3489 #893446 #708934 #348978
square
#4D3489 #893446 #708934 #348978
split-complementary
#4D3489 #897834 #468934
monochromatic
#1B1230 #34235D #4D3489 #6645B5 #896FC8

Accessibility & contrast

On white

9.69
#4D3489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#4D3489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D3489
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D3489#FFFFFF#000000##FFFFFF
##4D34891.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#004387
Tritanopia (blue-blind)
#3C4759
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4d3489;
/* rgb */ color: rgb(77, 52, 137);
/* oklch */ color: oklch(40.2% 0.135 292.8);
Tailwind
colors: {
  custom: {
    50: '#836dac',
    500: '#4d3489',
    950: '#000000',
  },
}
SCSS
$custom: #4d3489;
$custom-light: #836dac;
$custom-dark: #000000;
JSON
{
  "hex": "#4d3489",
  "rgb": {
    "r": 77,
    "g": 52,
    "b": 137
  },
  "hsl": {
    "h": 257.647,
    "s": 44.974,
    "l": 37.059
  },
  "oklch": {
    "l": 0.40164,
    "c": 0.13539,
    "h": 292.8
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#4D3489
secondary
#9BB068
accent
#D553AF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4D3489

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

Preview Lab → · Contrast checker → · Palette generator →

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