#4B196C#4B196C

#4B196C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.138 H 308.1°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#4B196C
RGBrgb(75, 25, 108)
HSLhsl(276, 62%, 26%)
HSVhsv(276, 77%, 42%)
CMYKcmyk(30.6%, 76.9%, 0%, 57.6%)
CIE-LABlab(21.11, 38.64, -38.16)
CIE-LCHlch(21.11, 54.31, 315.36°)
OKLaboklab(33.72% 0.0849 -0.1083)
OKLCHoklch(33.72% 0.138 308.1)
XYZxyz(5.9555, 3.2739, 14.5026)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B196C #3A6C19
analogous
#22196C #4B196C #6C1963
triadic
#4B196C #6C4B19 #196C4B
tetradic
#4B196C #6C2219 #3A6C19 #19636C
square
#4B196C #6C2219 #3A6C19 #19636C
split-complementary
#4B196C #636C19 #196C22
monochromatic
#110619 #280D3A #4B196C #6E259E #9030CF

Accessibility & contrast

On white

12.69
#4B196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B196C
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B196C#FFFFFF#000000##FFFFFF
##4B196C1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#462C41
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4b196c;
/* rgb */ color: rgb(75, 25, 108);
/* oklch */ color: oklch(33.7% 0.138 308.1);
Tailwind
colors: {
  custom: {
    50: '#815b97',
    500: '#4b196c',
    950: '#000000',
  },
}
SCSS
$custom: #4b196c;
$custom-light: #815b97;
$custom-dark: #000000;
JSON
{
  "hex": "#4b196c",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 276.145,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33715,
    "c": 0.13756,
    "h": 308.1
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#4B196C
secondary
#66A13F
accent
#E54283
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4B196C

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

Preview Lab → · Contrast checker → · Palette generator →

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