#4A196A#4A196A

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

Color values

HEX#4A196A
RGBrgb(74, 25, 106)
HSLhsl(276, 62%, 26%)
HSVhsv(276, 76%, 42%)
CMYKcmyk(30.2%, 76.4%, 0%, 58.4%)
CIE-LABlab(20.80, 37.94, -37.37)
CIE-LCHlch(20.80, 53.25, 315.43°)
OKLaboklab(33.41% 0.0837 -0.106)
OKLCHoklch(33.41% 0.135 308.3)
XYZxyz(5.7727, 3.1918, 13.9449)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A196A #396A19
analogous
#21196A #4A196A #6A1961
triadic
#4A196A #6A4A19 #196A4A
tetradic
#4A196A #6A2119 #396A19 #19616A
square
#4A196A #6A2119 #396A19 #19616A
split-complementary
#4A196A #616A19 #196A21
monochromatic
#110619 #270D38 #4A196A #6D259C #8F30CD

Accessibility & contrast

On white

12.82
#4A196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A196A
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A196A#FFFFFF#000000##FFFFFF
##4A196A1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a196a;
/* rgb */ color: rgb(74, 25, 106);
/* oklch */ color: oklch(33.4% 0.135 308.3);
Tailwind
colors: {
  custom: {
    50: '#805b95',
    500: '#4a196a',
    950: '#000000',
  },
}
SCSS
$custom: #4a196a;
$custom-light: #805b95;
$custom-dark: #000000;
JSON
{
  "hex": "#4a196a",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 276.296,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33411,
    "c": 0.13508,
    "h": 308.3
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#4A196A
secondary
#65A03F
accent
#E54383
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4A196A

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

Preview Lab → · Contrast checker → · Palette generator →

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