#4A208A#4A208A

#4A208A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.163 H 295.2°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#4A208A
RGBrgb(74, 32, 138)
HSLhsl(264, 62%, 33%)
HSVhsv(264, 77%, 54%)
CMYKcmyk(46.4%, 76.8%, 0%, 45.9%)
CIE-LABlab(24.71, 42.96, -51.38)
CIE-LCHlch(24.71, 66.97, 309.90°)
OKLaboklab(37.03% 0.0694 -0.1472)
OKLCHoklch(37.03% 0.163 295.2)
XYZxyz(7.9268, 4.3236, 24.4567)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A208A #608A20
analogous
#202B8A #4A208A #7F208A
triadic
#4A208A #8A4A20 #208A4A
tetradic
#4A208A #8A202B #608A20 #208A7F
square
#4A208A #8A202B #608A20 #208A7F
split-complementary
#4A208A #8A7F20 #2B8A20
monochromatic
#150927 #2F1458 #4A208A #652CBC #844ED6

Accessibility & contrast

On white

11.26
#4A208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#4A208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A208A
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A208A#FFFFFF#000000##FFFFFF
##4A208A1.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#383C53
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4a208a;
/* rgb */ color: rgb(74, 32, 138);
/* oklch */ color: oklch(37.0% 0.163 295.2);
Tailwind
colors: {
  custom: {
    50: '#8360ad',
    500: '#4a208a',
    950: '#000000',
  },
}
SCSS
$custom: #4a208a;
$custom-light: #8360ad;
$custom-dark: #000000;
JSON
{
  "hex": "#4a208a",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 263.774,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.37031,
    "c": 0.16274,
    "h": 295.2
  },
  "luminance": 0.04324
}

Semantic roles & 50–950 ramp

primary
#4A208A
secondary
#8EB94D
accent
#E542A5
background
#F8F5FA
surface
#F0EAF4
border
#CBC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A208A

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

Preview Lab → · Contrast checker → · Palette generator →

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