#4A209C#4A209C

#4A209C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.183 H 290.5°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#4A209C
RGBrgb(74, 32, 156)
HSLhsl(260, 66%, 37%)
HSVhsv(260, 79%, 61%)
CMYKcmyk(52.6%, 79.5%, 0%, 38.8%)
CIE-LABlab(26.42, 47.90, -59.70)
CIE-LCHlch(26.42, 76.54, 308.74°)
OKLaboklab(38.74% 0.0642 -0.1716)
OKLCHoklch(38.74% 0.183 290.5)
XYZxyz(9.3396, 4.8888, 31.8976)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A209C #729C20
analogous
#20349C #4A209C #88209C
triadic
#4A209C #9C4A20 #209C4A
tetradic
#4A209C #9C2034 #729C20 #209C88
square
#4A209C #9C2034 #729C20 #209C88
split-complementary
#4A209C #9C8820 #349C20
monochromatic
#1A0B36 #321669 #4A209C #622ACF #8659DD

Accessibility & contrast

On white

10.62
#4A209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4A209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A209C
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A209C#FFFFFF#000000##FFFFFF
##4A209C1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#2C445E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a209c;
/* rgb */ color: rgb(74, 32, 156);
/* oklch */ color: oklch(38.7% 0.183 290.5);
Tailwind
colors: {
  custom: {
    50: '#8661ba',
    500: '#4a209c',
    950: '#000000',
  },
}
SCSS
$custom: #4a209c;
$custom-light: #8661ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4a209c",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 260.323,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.38741,
    "c": 0.1832,
    "h": 290.5
  },
  "luminance": 0.04889
}

Semantic roles & 50–950 ramp

primary
#4A209C
secondary
#9DC157
accent
#E93FAF
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #4A209C

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

Preview Lab → · Contrast checker → · Palette generator →

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