#4B196E#4B196E

#4B196E is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.140 H 307.2°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#4B196E
RGBrgb(75, 25, 110)
HSLhsl(275, 63%, 26%)
HSVhsv(275, 77%, 43%)
CMYKcmyk(31.8%, 77.3%, 0%, 56.9%)
CIE-LABlab(21.27, 39.13, -39.19)
CIE-LCHlch(21.27, 55.38, 314.95°)
OKLaboklab(33.88% 0.0845 -0.1113)
OKLCHoklch(33.88% 0.14 307.2)
XYZxyz(6.0632, 3.3170, 15.0697)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B196E #3C6E19
analogous
#21196E #4B196E #6E1967
triadic
#4B196E #6E4B19 #196E4B
tetradic
#4B196E #6E2119 #3C6E19 #19676E
square
#4B196E #6E2119 #3C6E19 #19676E
split-complementary
#4B196E #676E19 #196E21
monochromatic
#110619 #290E3C #4B196E #6D24A0 #8F31D0

Accessibility & contrast

On white

12.62
#4B196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4B196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B196E
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B196E#FFFFFF#000000##FFFFFF
##4B196E1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003170
Deuteranopia (green-blind)
#00336C
Tritanopia (blue-blind)
#452D42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4b196e;
/* rgb */ color: rgb(75, 25, 110);
/* oklch */ color: oklch(33.9% 0.140 307.2);
Tailwind
colors: {
  custom: {
    50: '#815b98',
    500: '#4b196e',
    950: '#000000',
  },
}
SCSS
$custom: #4b196e;
$custom-light: #815b98;
$custom-dark: #000000;
JSON
{
  "hex": "#4b196e",
  "rgb": {
    "r": 75,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 275.294,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33881,
    "c": 0.13973,
    "h": 307.2
  },
  "luminance": 0.03317
}

Semantic roles & 50–950 ramp

primary
#4B196E
secondary
#69A33F
accent
#E64285
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4B196E

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

Preview Lab → · Contrast checker → · Palette generator →

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