#4A2A95#4A2A95

#4A2A95 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.3% C 0.164 H 290.5°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#4A2A95
RGBrgb(74, 42, 149)
HSLhsl(258, 56%, 37%)
HSVhsv(258, 72%, 58%)
CMYKcmyk(50.3%, 71.8%, 0%, 41.6%)
CIE-LABlab(27.52, 40.94, -53.60)
CIE-LCHlch(27.52, 67.44, 307.37°)
OKLaboklab(39.32% 0.0576 -0.1538)
OKLCHoklch(39.32% 0.164 290.5)
XYZxyz(9.0753, 5.2813, 28.9692)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2A95 #75952A
analogous
#2A3F95 #4A2A95 #802A95
triadic
#4A2A95 #954A2A #2A954A
tetradic
#4A2A95 #952A3F #75952A #2A9580
square
#4A2A95 #952A3F #75952A #2A9580
split-complementary
#4A2A95 #95802A #3F952A
monochromatic
#1B0F36 #321D65 #4A2A95 #6237C5 #8766D4

Accessibility & contrast

On white

10.21
#4A2A95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4A2A95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2A95
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2A95#FFFFFF#000000##FFFFFF
##4A2A951.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#31465C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a2a95;
/* rgb */ color: rgb(74, 42, 149);
/* oklch */ color: oklch(39.3% 0.164 290.5);
Tailwind
colors: {
  custom: {
    50: '#8466b5',
    500: '#4a2a95',
    950: '#000000',
  },
}
SCSS
$custom: #4a2a95;
$custom-light: #8466b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2a95",
  "rgb": {
    "r": 74,
    "g": 42,
    "b": 149
  },
  "hsl": {
    "h": 257.944,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.39321,
    "c": 0.16419,
    "h": 290.5
  },
  "luminance": 0.05282
}

Semantic roles & 50–950 ramp

primary
#4A2A95
secondary
#9FBA61
accent
#DF48B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4A2A95

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

Preview Lab → · Contrast checker → · Palette generator →

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