#4B3296#4B3296

#4B3296 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.7% C 0.155 H 289.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#4B3296
RGBrgb(75, 50, 150)
HSLhsl(255, 50%, 39%)
HSVhsv(255, 67%, 59%)
CMYKcmyk(50%, 66.7%, 0%, 41.2%)
CIE-LABlab(29.36, 36.90, -51.21)
CIE-LCHlch(29.36, 63.12, 305.78°)
OKLaboklab(40.69% 0.0508 -0.1467)
OKLCHoklch(40.69% 0.155 289.1)
XYZxyz(9.5457, 5.9787, 29.4993)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B3296 #7D9632
analogous
#324B96 #4B3296 #7D3296
triadic
#4B3296 #964B32 #32964B
tetradic
#4B3296 #96324B #7D9632 #32967D
square
#4B3296 #96324B #7D9632 #32967D
split-complementary
#4B3296 #967D32 #4B9632
monochromatic
#1D133A #342368 #4B3296 #6444C1 #8A72D0

Accessibility & contrast

On white

9.56
#4B3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4B3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B3296
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B3296#FFFFFF#000000##FFFFFF
##4B32961.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b3296;
/* rgb */ color: rgb(75, 50, 150);
/* oklch */ color: oklch(40.7% 0.155 289.1);
Tailwind
colors: {
  custom: {
    50: '#846bb6',
    500: '#4b3296',
    950: '#000000',
  },
}
SCSS
$custom: #4b3296;
$custom-light: #846bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b3296",
  "rgb": {
    "r": 75,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 255,
    "s": 50,
    "l": 39.216
  },
  "oklch": {
    "l": 0.40689,
    "c": 0.1553,
    "h": 289.1
  },
  "luminance": 0.05979
}

Semantic roles & 50–950 ramp

primary
#4B3296
secondary
#A5B86C
accent
#DA4EB7
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #4B3296

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

Preview Lab → · Contrast checker → · Palette generator →

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