#4A209E#4A209E

#4A209E is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.185 H 290.0°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#4A209E
RGBrgb(74, 32, 158)
HSLhsl(260, 66%, 37%)
HSVhsv(260, 80%, 62%)
CMYKcmyk(53.2%, 79.7%, 0%, 38%)
CIE-LABlab(26.61, 48.45, -60.60)
CIE-LCHlch(26.61, 77.59, 308.64°)
OKLaboklab(38.94% 0.0636 -0.1742)
OKLCHoklch(38.94% 0.185 290)
XYZxyz(9.5103, 4.9571, 32.7968)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A209E #749E20
analogous
#20359E #4A209E #89209E
triadic
#4A209E #9E4A20 #209E4A
tetradic
#4A209E #9E2035 #749E20 #209E89
square
#4A209E #9E2035 #749E20 #209E89
split-complementary
#4A209E #9E8920 #359E20
monochromatic
#1A0B38 #32166B #4A209E #622AD1 #865BDE

Accessibility & contrast

On white

10.55
#4A209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4A209E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A209E
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A209E#FFFFFF#000000##FFFFFF
##4A209E1.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#003C9C
Tritanopia (blue-blind)
#2B445F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a209e;
/* rgb */ color: rgb(74, 32, 158);
/* oklch */ color: oklch(38.9% 0.185 290.0);
Tailwind
colors: {
  custom: {
    50: '#8661bc',
    500: '#4a209e',
    950: '#000000',
  },
}
SCSS
$custom: #4a209e;
$custom-light: #8661bc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a209e",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 260,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38937,
    "c": 0.18545,
    "h": 290
  },
  "luminance": 0.04957
}

Semantic roles & 50–950 ramp

primary
#4A209E
secondary
#9FC258
accent
#E93FB0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4A209E

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

Preview Lab → · Contrast checker → · Palette generator →

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