#4B196B#4B196B

#4B196B is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.136 H 308.5°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#4B196B
RGBrgb(75, 25, 107)
HSLhsl(277, 62%, 26%)
HSVhsv(277, 77%, 42%)
CMYKcmyk(29.9%, 76.6%, 0%, 58%)
CIE-LABlab(21.03, 38.39, -37.64)
CIE-LCHlch(21.03, 53.77, 315.57°)
OKLaboklab(33.63% 0.085 -0.1067)
OKLCHoklch(33.63% 0.136 308.5)
XYZxyz(5.9026, 3.2528, 14.2240)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B196B #396B19
analogous
#22196B #4B196B #6B1962
triadic
#4B196B #6B4B19 #196B4B
tetradic
#4B196B #6B2219 #396B19 #19626B
square
#4B196B #6B2219 #396B19 #19626B
split-complementary
#4B196B #626B19 #196B22
monochromatic
#110619 #280D39 #4B196B #6E259D #9130CE

Accessibility & contrast

On white

12.72
#4B196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B196B
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B196B#FFFFFF#000000##FFFFFF
##4B196B1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#023369
Tritanopia (blue-blind)
#462C40
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4b196b;
/* rgb */ color: rgb(75, 25, 107);
/* oklch */ color: oklch(33.6% 0.136 308.5);
Tailwind
colors: {
  custom: {
    50: '#815b96',
    500: '#4b196b',
    950: '#000000',
  },
}
SCSS
$custom: #4b196b;
$custom-light: #815b96;
$custom-dark: #000000;
JSON
{
  "hex": "#4b196b",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 276.585,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33633,
    "c": 0.13648,
    "h": 308.5
  },
  "luminance": 0.03253
}

Semantic roles & 50–950 ramp

primary
#4B196B
secondary
#65A13F
accent
#E54382
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B196B

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

Preview Lab → · Contrast checker → · Palette generator →

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