#4A198F#4A198F

#4A198F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.175 H 294.8°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#4A198F
RGBrgb(74, 25, 143)
HSLhsl(265, 70%, 33%)
HSVhsv(265, 83%, 56%)
CMYKcmyk(48.3%, 82.5%, 0%, 43.9%)
CIE-LABlab(24.11, 47.40, -55.48)
CIE-LCHlch(24.11, 72.97, 310.51°)
OKLaboklab(36.75% 0.0736 -0.1592)
OKLCHoklch(36.75% 0.175 294.8)
XYZxyz(8.1282, 4.1340, 26.3510)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A198F #5E8F19
analogous
#19238F #4A198F #85198F
triadic
#4A198F #8F4A19 #198F4A
tetradic
#4A198F #8F1923 #5E8F19 #198F85
square
#4A198F #8F1923 #5E8F19 #198F85
split-complementary
#4A198F #8F8519 #238F19
monochromatic
#140727 #2F105B #4A198F #6522C3 #8444DE

Accessibility & contrast

On white

11.50
#4A198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#4A198F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A198F
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A198F#FFFFFF#000000##FFFFFF
##4A198F1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#353B55
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4a198f;
/* rgb */ color: rgb(74, 25, 143);
/* oklch */ color: oklch(36.8% 0.175 294.8);
Tailwind
colors: {
  custom: {
    50: '#845db1',
    500: '#4a198f',
    950: '#000000',
  },
}
SCSS
$custom: #4a198f;
$custom-light: #845db1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a198f",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 264.915,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36754,
    "c": 0.17535,
    "h": 294.8
  },
  "luminance": 0.04134
}

Semantic roles & 50–950 ramp

primary
#4A198F
secondary
#8CBF44
accent
#ED3BA3
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A198F

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

Preview Lab → · Contrast checker → · Palette generator →

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