#4A196B#4A196B

#4A196B is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.136 H 307.8°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#4A196B
RGBrgb(74, 25, 107)
HSLhsl(276, 62%, 26%)
HSVhsv(276, 77%, 42%)
CMYKcmyk(30.8%, 76.6%, 0%, 58%)
CIE-LABlab(20.88, 38.18, -37.89)
CIE-LCHlch(20.88, 53.79, 315.22°)
OKLaboklab(33.49% 0.0836 -0.1075)
OKLCHoklch(33.49% 0.136 307.8)
XYZxyz(5.8250, 3.2127, 14.2203)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A196B #3A6B19
analogous
#21196B #4A196B #6B1963
triadic
#4A196B #6B4A19 #196B4A
tetradic
#4A196B #6B2119 #3A6B19 #19636B
square
#4A196B #6B2119 #3A6B19 #19636B
split-complementary
#4A196B #636B19 #196B21
monochromatic
#110619 #280D39 #4A196B #6C259D #8F30CE

Accessibility & contrast

On white

12.78
#4A196B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4A196B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A196B
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A196B#FFFFFF#000000##FFFFFF
##4A196B1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306D
Deuteranopia (green-blind)
#003369
Tritanopia (blue-blind)
#452C40
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4a196b;
/* rgb */ color: rgb(74, 25, 107);
/* oklch */ color: oklch(33.5% 0.136 307.8);
Tailwind
colors: {
  custom: {
    50: '#805b96',
    500: '#4a196b',
    950: '#000000',
  },
}
SCSS
$custom: #4a196b;
$custom-light: #805b96;
$custom-dark: #000000;
JSON
{
  "hex": "#4a196b",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 107
  },
  "hsl": {
    "h": 275.854,
    "s": 62.121,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33493,
    "c": 0.13617,
    "h": 307.8
  },
  "luminance": 0.03213
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A196B

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

Preview Lab → · Contrast checker → · Palette generator →

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