#4A208D#4A208D

#4A208D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.3% C 0.166 H 294.4°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#4A208D
RGBrgb(74, 32, 141)
HSLhsl(263, 63%, 34%)
HSVhsv(263, 77%, 55%)
CMYKcmyk(47.5%, 77.3%, 0%, 44.7%)
CIE-LABlab(24.99, 43.78, -52.80)
CIE-LCHlch(24.99, 68.59, 309.67°)
OKLaboklab(37.31% 0.0686 -0.1514)
OKLCHoklch(37.31% 0.166 294.4)
XYZxyz(8.1470, 4.4117, 25.6164)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A208D #638D20
analogous
#202D8D #4A208D #81208D
triadic
#4A208D #8D4A20 #208D4A
tetradic
#4A208D #8D202D #638D20 #208D81
square
#4A208D #8D202D #638D20 #208D81
split-complementary
#4A208D #8D8120 #2D8D20
monochromatic
#160929 #30155B #4A208D #642BBF #8450D7

Accessibility & contrast

On white

11.16
#4A208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#4A208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A208D
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A208D#FFFFFF#000000##FFFFFF
##4A208D1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00398B
Tritanopia (blue-blind)
#363D55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4a208d;
/* rgb */ color: rgb(74, 32, 141);
/* oklch */ color: oklch(37.3% 0.166 294.4);
Tailwind
colors: {
  custom: {
    50: '#8460af',
    500: '#4a208d',
    950: '#000000',
  },
}
SCSS
$custom: #4a208d;
$custom-light: #8460af;
$custom-dark: #000000;
JSON
{
  "hex": "#4a208d",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 263.119,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37308,
    "c": 0.16619,
    "h": 294.4
  },
  "luminance": 0.04412
}

Semantic roles & 50–950 ramp

primary
#4A208D
secondary
#91BA4E
accent
#E642A7
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0C0510
muted
#7D797F

Preview Lab

Preview with #4A208D

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

Preview Lab → · Contrast checker → · Palette generator →

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