#4B3586#4B3586

#4B3586 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 39.9% C 0.130 H 292.0°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#4B3586
RGBrgb(75, 53, 134)
HSLhsl(256, 43%, 37%)
HSVhsv(256, 60%, 53%)
CMYKcmyk(44%, 60.4%, 0%, 47.5%)
CIE-LABlab(28.81, 30.26, -42.23)
CIE-LCHlch(28.81, 51.95, 305.62°)
OKLaboklab(39.9% 0.0486 -0.1203)
OKLCHoklch(39.9% 0.13 292)
XYZxyz(8.4767, 5.7630, 23.2154)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B3586 #708635
analogous
#354886 #4B3586 #743586
triadic
#4B3586 #864B35 #35864B
tetradic
#4B3586 #863548 #708635 #358674
square
#4B3586 #863548 #708635 #358674
split-complementary
#4B3586 #867435 #488635
monochromatic
#1A122E #32245A #4B3586 #6446B2 #876FC6

Accessibility & contrast

On white

9.76
#4B3586 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4B3586 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B3586
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B3586#FFFFFF#000000##FFFFFF
##4B35861.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004589
Deuteranopia (green-blind)
#074284
Tritanopia (blue-blind)
#3A4758
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4b3586;
/* rgb */ color: rgb(75, 53, 134);
/* oklch */ color: oklch(39.9% 0.130 292.0);
Tailwind
colors: {
  custom: {
    50: '#826daa',
    500: '#4b3586',
    950: '#000000',
  },
}
SCSS
$custom: #4b3586;
$custom-light: #826daa;
$custom-dark: #000000;
JSON
{
  "hex": "#4b3586",
  "rgb": {
    "r": 75,
    "g": 53,
    "b": 134
  },
  "hsl": {
    "h": 256.296,
    "s": 43.316,
    "l": 36.667
  },
  "oklch": {
    "l": 0.39899,
    "c": 0.12977,
    "h": 292
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

primary
#4B3586
secondary
#9BAE68
accent
#D355B1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #4B3586

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

Preview Lab → · Contrast checker → · Palette generator →

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