#4B2C96#4B2C96

#4B2C96 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.8% C 0.163 H 290.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#4B2C96
RGBrgb(75, 44, 150)
HSLhsl(258, 55%, 38%)
HSVhsv(258, 71%, 59%)
CMYKcmyk(50%, 70.7%, 0%, 41.2%)
CIE-LABlab(28.11, 40.31, -53.24)
CIE-LCHlch(28.11, 66.78, 307.13°)
OKLaboklab(39.79% 0.0569 -0.1527)
OKLCHoklch(39.79% 0.163 290.4)
XYZxyz(9.3058, 5.4989, 29.4193)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2C96 #77962C
analogous
#2C4296 #4B2C96 #802C96
triadic
#4B2C96 #964B2C #2C964B
tetradic
#4B2C96 #962C42 #77962C #2C9680
square
#4B2C96 #962C42 #77962C #2C9680
split-complementary
#4B2C96 #96802C #42962C
monochromatic
#1C1037 #331E67 #4B2C96 #633AC5 #8869D3

Accessibility & contrast

On white

10.00
#4B2C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#4B2C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2C96
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2C96#FFFFFF#000000##FFFFFF
##4B2C961.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#004094
Tritanopia (blue-blind)
#32475D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4b2c96;
/* rgb */ color: rgb(75, 44, 150);
/* oklch */ color: oklch(39.8% 0.163 290.4);
Tailwind
colors: {
  custom: {
    50: '#8568b6',
    500: '#4b2c96',
    950: '#000000',
  },
}
SCSS
$custom: #4b2c96;
$custom-light: #8568b6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2c96",
  "rgb": {
    "r": 75,
    "g": 44,
    "b": 150
  },
  "hsl": {
    "h": 257.547,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39794,
    "c": 0.16297,
    "h": 290.4
  },
  "luminance": 0.05499
}

Semantic roles & 50–950 ramp

primary
#4B2C96
secondary
#A1BA64
accent
#DE4AB3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4B2C96

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

Preview Lab → · Contrast checker → · Palette generator →

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