#4B1996#4B1996

#4B1996 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.183 H 293.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#4B1996
RGBrgb(75, 25, 150)
HSLhsl(264, 71%, 34%)
HSVhsv(264, 83%, 59%)
CMYKcmyk(50%, 83.3%, 0%, 41.2%)
CIE-LABlab(24.93, 49.37, -58.46)
CIE-LCHlch(24.93, 76.52, 310.18°)
OKLaboklab(37.56% 0.0727 -0.1678)
OKLCHoklch(37.56% 0.183 293.4)
XYZxyz(8.7528, 4.3928, 29.2350)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B1996 #649619
analogous
#192596 #4B1996 #8A1996
triadic
#4B1996 #964B19 #19964B
tetradic
#4B1996 #961925 #649619 #19968A
square
#4B1996 #961925 #649619 #19968A
split-complementary
#4B1996 #968A19 #259619
monochromatic
#17082D #311062 #4B1996 #6522CA #8649E1

Accessibility & contrast

On white

11.18
#4B1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4B1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B1996
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B1996#FFFFFF#000000##FFFFFF
##4B19961.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#333E59
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4b1996;
/* rgb */ color: rgb(75, 25, 150);
/* oklch */ color: oklch(37.6% 0.183 293.4);
Tailwind
colors: {
  custom: {
    50: '#865eb6',
    500: '#4b1996',
    950: '#000000',
  },
}
SCSS
$custom: #4b1996;
$custom-light: #865eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b1996",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 264,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37559,
    "c": 0.18292,
    "h": 293.4
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#4B1996
secondary
#92C249
accent
#EE3AA6
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4B1996

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

Preview Lab → · Contrast checker → · Palette generator →

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