#4A208C#4A208C

#4A208C is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.165 H 294.7°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#4A208C
RGBrgb(74, 32, 140)
HSLhsl(263, 63%, 34%)
HSVhsv(263, 77%, 55%)
CMYKcmyk(47.1%, 77.1%, 0%, 45.1%)
CIE-LABlab(24.90, 43.51, -52.33)
CIE-LCHlch(24.90, 68.05, 309.74°)
OKLaboklab(37.22% 0.0689 -0.15)
OKLCHoklch(37.22% 0.165 294.7)
XYZxyz(8.0729, 4.3821, 25.2263)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A208C #628C20
analogous
#202C8C #4A208C #80208C
triadic
#4A208C #8C4A20 #208C4A
tetradic
#4A208C #8C202C #628C20 #208C80
square
#4A208C #8C202C #628C20 #208C80
split-complementary
#4A208C #8C8020 #2C8C20
monochromatic
#150928 #30155A #4A208C #642BBE #8450D7

Accessibility & contrast

On white

11.19
#4A208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A208C
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A208C#FFFFFF#000000##FFFFFF
##4A208C1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#373D55
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #4a208c;
/* rgb */ color: rgb(74, 32, 140);
/* oklch */ color: oklch(37.2% 0.165 294.7);
Tailwind
colors: {
  custom: {
    50: '#8360af',
    500: '#4a208c',
    950: '#000000',
  },
}
SCSS
$custom: #4a208c;
$custom-light: #8360af;
$custom-dark: #000000;
JSON
{
  "hex": "#4a208c",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 263.333,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37216,
    "c": 0.16504,
    "h": 294.7
  },
  "luminance": 0.04382
}

Semantic roles & 50–950 ramp

primary
#4A208C
secondary
#90BA4E
accent
#E642A6
background
#F8F5FA
surface
#F0EAF5
border
#CBC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #4A208C

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

Preview Lab → · Contrast checker → · Palette generator →

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