#4C3587#4C3587

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

Color values

HEX#4C3587
RGBrgb(76, 53, 135)
HSLhsl(257, 44%, 37%)
HSVhsv(257, 61%, 53%)
CMYKcmyk(43.7%, 60.7%, 0%, 47.1%)
CIE-LABlab(28.98, 30.80, -42.56)
CIE-LCHlch(28.98, 52.53, 305.89°)
OKLaboklab(40.08% 0.05 -0.1213)
OKLCHoklch(40.08% 0.131 292.4)
XYZxyz(8.6256, 5.8317, 23.5881)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C3587 #708735
analogous
#354787 #4C3587 #753587
triadic
#4C3587 #874C35 #35874C
tetradic
#4C3587 #873547 #708735 #358775
square
#4C3587 #873547 #708735 #358775
split-complementary
#4C3587 #877535 #478735
monochromatic
#1B122F #33245B #4C3587 #6546B3 #8870C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4C3587#FFFFFF#000000##FFFFFF
##4C35871.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)
#00458A
Deuteranopia (green-blind)
#064385
Tritanopia (blue-blind)
#3C4758
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4c3587;
/* rgb */ color: rgb(76, 53, 135);
/* oklch */ color: oklch(40.1% 0.131 292.4);
Tailwind
colors: {
  custom: {
    50: '#836daa',
    500: '#4c3587',
    950: '#000000',
  },
}
SCSS
$custom: #4c3587;
$custom-light: #836daa;
$custom-dark: #000000;
JSON
{
  "hex": "#4c3587",
  "rgb": {
    "r": 76,
    "g": 53,
    "b": 135
  },
  "hsl": {
    "h": 256.829,
    "s": 43.617,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40077,
    "c": 0.13116,
    "h": 292.4
  },
  "luminance": 0.05832
}

Semantic roles & 50–950 ramp

primary
#4C3587
secondary
#9BAF69
accent
#D354B0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4C3587

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

Preview Lab → · Contrast checker → · Palette generator →

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