#4A209B#4A209B

#4A209B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.6% C 0.182 H 290.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#4A209B
RGBrgb(74, 32, 155)
HSLhsl(260, 66%, 37%)
HSVhsv(260, 79%, 61%)
CMYKcmyk(52.3%, 79.4%, 0%, 39.2%)
CIE-LABlab(26.32, 47.63, -59.25)
CIE-LCHlch(26.32, 76.02, 308.79°)
OKLaboklab(38.64% 0.0645 -0.1703)
OKLCHoklch(38.64% 0.182 290.7)
XYZxyz(9.2552, 4.8550, 31.4534)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A209B #719B20
analogous
#20349B #4A209B #88209B
triadic
#4A209B #9B4A20 #209B4A
tetradic
#4A209B #9B2034 #719B20 #209B88
square
#4A209B #9B2034 #719B20 #209B88
split-complementary
#4A209B #9B8820 #349B20
monochromatic
#1A0B36 #321668 #4A209B #622ACE #8659DD

Accessibility & contrast

On white

10.65
#4A209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#4A209B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A209B
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A209B#FFFFFF#000000##FFFFFF
##4A209B1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#2D435D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a209b;
/* rgb */ color: rgb(74, 32, 155);
/* oklch */ color: oklch(38.6% 0.182 290.7);
Tailwind
colors: {
  custom: {
    50: '#8661ba',
    500: '#4a209b',
    950: '#000000',
  },
}
SCSS
$custom: #4a209b;
$custom-light: #8661ba;
$custom-dark: #000000;
JSON
{
  "hex": "#4a209b",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 260.488,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38643,
    "c": 0.18207,
    "h": 290.7
  },
  "luminance": 0.04855
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A209B

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

Preview Lab → · Contrast checker → · Palette generator →

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