#4A197C#4A197C

#4A197C is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.155 H 300.9°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#4A197C
RGBrgb(74, 25, 124)
HSLhsl(270, 66%, 29%)
HSVhsv(270, 80%, 49%)
CMYKcmyk(40.3%, 79.8%, 0%, 51.4%)
CIE-LABlab(22.32, 42.47, -46.47)
CIE-LCHlch(22.32, 62.95, 312.42°)
OKLaboklab(34.97% 0.0795 -0.1327)
OKLCHoklch(34.97% 0.155 300.9)
XYZxyz(6.8089, 3.6063, 19.4022)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A197C #4B7C19
analogous
#191A7C #4A197C #7C197C
triadic
#4A197C #7C4A19 #197C4A
tetradic
#4A197C #7C191A #4B7C19 #197C7C
square
#4A197C #7C191A #4B7C19 #197C7C
split-complementary
#4A197C #7C7C19 #1A7C19
monochromatic
#0F0519 #2C0F49 #4A197C #6823AF #8738D7

Accessibility & contrast

On white

12.20
#4A197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#4A197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A197C
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A197C#FFFFFF#000000##FFFFFF
##4A197C1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#3F334A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #4a197c;
/* rgb */ color: rgb(74, 25, 124);
/* oklch */ color: oklch(35.0% 0.155 300.9);
Tailwind
colors: {
  custom: {
    50: '#825ca3',
    500: '#4a197c',
    950: '#000000',
  },
}
SCSS
$custom: #4a197c;
$custom-light: #825ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a197c",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 269.697,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34965,
    "c": 0.15475,
    "h": 300.9
  },
  "luminance": 0.03606
}

Semantic roles & 50–950 ramp

primary
#4A197C
secondary
#79B040
accent
#E93E95
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #4A197C

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

Preview Lab → · Contrast checker → · Palette generator →

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