#4A199E#4A199E

#4A199E is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.3% C 0.191 H 290.9°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#4A199E
RGBrgb(74, 25, 158)
HSLhsl(262, 73%, 36%)
HSVhsv(262, 84%, 62%)
CMYKcmyk(53.2%, 84.2%, 0%, 38%)
CIE-LABlab(25.62, 51.34, -62.23)
CIE-LCHlch(25.62, 80.67, 309.52°)
OKLaboklab(38.25% 0.0682 -0.1789)
OKLCHoklch(38.25% 0.191 290.9)
XYZxyz(9.3415, 4.6193, 32.7405)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A199E #6D9E19
analogous
#192A9E #4A199E #8C199E
triadic
#4A199E #9E4A19 #199E4A
tetradic
#4A199E #9E192A #6D9E19 #199E8C
square
#4A199E #9E192A #6D9E19 #199E8C
split-complementary
#4A199E #9E8C19 #2A9E19
monochromatic
#190834 #311169 #4A199E #6321D3 #854EE3

Accessibility & contrast

On white

10.91
#4A199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#4A199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A199E
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A199E#FFFFFF#000000##FFFFFF
##4A199E1.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA2
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#2B425E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #4a199e;
/* rgb */ color: rgb(74, 25, 158);
/* oklch */ color: oklch(38.3% 0.191 290.9);
Tailwind
colors: {
  custom: {
    50: '#875ebc',
    500: '#4a199e',
    950: '#000000',
  },
}
SCSS
$custom: #4a199e;
$custom-light: #875ebc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a199e",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 262.105,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38252,
    "c": 0.19145,
    "h": 290.9
  },
  "luminance": 0.0462
}

Semantic roles & 50–950 ramp

primary
#4A199E
secondary
#99C54E
accent
#EF38AC
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4A199E

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

Preview Lab → · Contrast checker → · Palette generator →

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