#4B3386#4B3386

#4B3386 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 39.6% C 0.133 H 292.6°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#4B3386
RGBrgb(75, 51, 134)
HSLhsl(257, 45%, 36%)
HSVhsv(257, 62%, 53%)
CMYKcmyk(44%, 61.9%, 0%, 47.5%)
CIE-LABlab(28.34, 31.49, -42.98)
CIE-LCHlch(28.34, 53.28, 306.22°)
OKLaboklab(39.56% 0.0511 -0.1226)
OKLCHoklch(39.56% 0.133 292.6)
XYZxyz(8.3874, 5.5845, 23.1856)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B3386 #6E8633
analogous
#334586 #4B3386 #753386
triadic
#4B3386 #864B33 #33864B
tetradic
#4B3386 #863345 #6E8633 #338675
square
#4B3386 #863345 #6E8633 #338675
split-complementary
#4B3386 #867533 #458633
monochromatic
#19112D #32225A #4B3386 #6444B2 #876CC7

Accessibility & contrast

On white

9.92
#4B3386 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4B3386 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B3386
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B3386#FFFFFF#000000##FFFFFF
##4B33861.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004489
Deuteranopia (green-blind)
#004184
Tritanopia (blue-blind)
#3B4657
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4b3386;
/* rgb */ color: rgb(75, 51, 134);
/* oklch */ color: oklch(39.6% 0.133 292.6);
Tailwind
colors: {
  custom: {
    50: '#826caa',
    500: '#4b3386',
    950: '#000000',
  },
}
SCSS
$custom: #4b3386;
$custom-light: #826caa;
$custom-dark: #000000;
JSON
{
  "hex": "#4b3386",
  "rgb": {
    "r": 75,
    "g": 51,
    "b": 134
  },
  "hsl": {
    "h": 257.349,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.39557,
    "c": 0.13277,
    "h": 292.6
  },
  "luminance": 0.05585
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4B3386

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

Preview Lab → · Contrast checker → · Palette generator →

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