#4A197D#4A197D

#4A197D is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.156 H 300.6°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#4A197D
RGBrgb(74, 25, 125)
HSLhsl(269, 67%, 29%)
HSVhsv(269, 80%, 49%)
CMYKcmyk(40.8%, 80%, 0%, 51%)
CIE-LABlab(22.41, 42.72, -46.96)
CIE-LCHlch(22.41, 63.48, 312.30°)
OKLaboklab(35.06% 0.0793 -0.1342)
OKLCHoklch(35.06% 0.156 300.6)
XYZxyz(6.8724, 3.6317, 19.7370)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A197D #4C7D19
analogous
#191A7D #4A197D #7C197D
triadic
#4A197D #7D4A19 #197D4A
tetradic
#4A197D #7D191A #4C7D19 #197D7C
square
#4A197D #7D191A #4C7D19 #197D7C
split-complementary
#4A197D #7D7C19 #1A7D19
monochromatic
#0F051A #2C0F4A #4A197D #6823B0 #8739D7

Accessibility & contrast

On white

12.16
#4A197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#4A197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A197D
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A197D#FFFFFF#000000##FFFFFF
##4A197D1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#3E344A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #4a197d;
/* rgb */ color: rgb(74, 25, 125);
/* oklch */ color: oklch(35.1% 0.156 300.6);
Tailwind
colors: {
  custom: {
    50: '#825ca3',
    500: '#4a197d',
    950: '#000000',
  },
}
SCSS
$custom: #4a197d;
$custom-light: #825ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a197d",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 269.4,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.35055,
    "c": 0.15583,
    "h": 300.6
  },
  "luminance": 0.03632
}

Semantic roles & 50–950 ramp

primary
#4A197D
secondary
#7AB140
accent
#EA3E96
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4A197D

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

Preview Lab → · Contrast checker → · Palette generator →

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