#4B196A#4B196A

#4B196A is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.135 H 309.0°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#4B196A
RGBrgb(75, 25, 106)
HSLhsl(277, 62%, 26%)
HSVhsv(277, 76%, 42%)
CMYKcmyk(29.2%, 76.4%, 0%, 58.4%)
CIE-LABlab(20.95, 38.15, -37.12)
CIE-LCHlch(20.95, 53.23, 315.79°)
OKLaboklab(33.55% 0.0852 -0.1052)
OKLCHoklch(33.55% 0.135 309)
XYZxyz(5.8503, 3.2318, 13.9485)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B196A #386A19
analogous
#22196A #4B196A #6A1960
triadic
#4B196A #6A4B19 #196A4B
tetradic
#4B196A #6A2219 #386A19 #19606A
square
#4B196A #6A2219 #386A19 #19606A
split-complementary
#4B196A #606A19 #196A22
monochromatic
#120619 #280D38 #4B196A #6E259C #9130CD

Accessibility & contrast

On white

12.76
#4B196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4B196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B196A
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B196A#FFFFFF#000000##FFFFFF
##4B196A1.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#043368
Tritanopia (blue-blind)
#462C40
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4b196a;
/* rgb */ color: rgb(75, 25, 106);
/* oklch */ color: oklch(33.6% 0.135 309.0);
Tailwind
colors: {
  custom: {
    50: '#815b95',
    500: '#4b196a',
    950: '#000000',
  },
}
SCSS
$custom: #4b196a;
$custom-light: #815b95;
$custom-dark: #000000;
JSON
{
  "hex": "#4b196a",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 277.037,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33552,
    "c": 0.13539,
    "h": 309
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#4B196A
secondary
#64A03F
accent
#E54381
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B196A

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

Preview Lab → · Contrast checker → · Palette generator →

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