#4A208E#4A208E

#4A208E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.167 H 294.1°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#4A208E
RGBrgb(74, 32, 142)
HSLhsl(263, 63%, 34%)
HSVhsv(263, 77%, 56%)
CMYKcmyk(47.9%, 77.5%, 0%, 44.3%)
CIE-LABlab(25.08, 44.06, -53.27)
CIE-LCHlch(25.08, 69.13, 309.59°)
OKLaboklab(37.4% 0.0683 -0.1527)
OKLCHoklch(37.4% 0.167 294.1)
XYZxyz(8.2217, 4.4416, 26.0101)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A208E #648E20
analogous
#202D8E #4A208E #81208E
triadic
#4A208E #8E4A20 #208E4A
tetradic
#4A208E #8E202D #648E20 #208E81
square
#4A208E #8E202D #648E20 #208E81
split-complementary
#4A208E #8E8120 #2D8E20
monochromatic
#16092A #30155C #4A208E #642BC0 #8451D8

Accessibility & contrast

On white

11.12
#4A208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4A208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A208E
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A208E#FFFFFF#000000##FFFFFF
##4A208E1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#003A8C
Tritanopia (blue-blind)
#363E56
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4a208e;
/* rgb */ color: rgb(74, 32, 142);
/* oklch */ color: oklch(37.4% 0.167 294.1);
Tailwind
colors: {
  custom: {
    50: '#8460b0',
    500: '#4a208e',
    950: '#000000',
  },
}
SCSS
$custom: #4a208e;
$custom-light: #8460b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a208e",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 262.909,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.37402,
    "c": 0.16734,
    "h": 294.1
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#4A208E
secondary
#92BB4F
accent
#E642A7
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A208E

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

Preview Lab → · Contrast checker → · Palette generator →

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