#4B3196#4B3196

#4B3196 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.5% C 0.157 H 289.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#4B3196
RGBrgb(75, 49, 150)
HSLhsl(255, 51%, 39%)
HSVhsv(255, 67%, 59%)
CMYKcmyk(50%, 67.3%, 0%, 41.2%)
CIE-LABlab(29.14, 37.48, -51.56)
CIE-LCHlch(29.14, 63.74, 306.02°)
OKLaboklab(40.53% 0.0519 -0.1478)
OKLCHoklch(40.53% 0.157 289.3)
XYZxyz(9.5034, 5.8941, 29.4852)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B3196 #7C9631
analogous
#314996 #4B3196 #7E3196
triadic
#4B3196 #964B31 #31964B
tetradic
#4B3196 #963149 #7C9631 #31967E
square
#4B3196 #963149 #7C9631 #31967E
split-complementary
#4B3196 #967E31 #499631
monochromatic
#1D133A #342268 #4B3196 #6343C1 #8971D1

Accessibility & contrast

On white

9.64
#4B3196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4B3196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B3196
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B3196#FFFFFF#000000##FFFFFF
##4B31961.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#004294
Tritanopia (blue-blind)
#324A5F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4b3196;
/* rgb */ color: rgb(75, 49, 150);
/* oklch */ color: oklch(40.5% 0.157 289.3);
Tailwind
colors: {
  custom: {
    50: '#846bb6',
    500: '#4b3196',
    950: '#000000',
  },
}
SCSS
$custom: #4b3196;
$custom-light: #846bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b3196",
  "rgb": {
    "r": 75,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 255.446,
    "s": 50.754,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40534,
    "c": 0.15661,
    "h": 289.3
  },
  "luminance": 0.05894
}

Semantic roles & 50–950 ramp

primary
#4B3196
secondary
#A4B86A
accent
#DA4EB6
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #4B3196

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

Preview Lab → · Contrast checker → · Palette generator →

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