#4A2A94#4A2A94

#4A2A94 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.2% C 0.163 H 290.8°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#4A2A94
RGBrgb(74, 42, 148)
HSLhsl(258, 56%, 37%)
HSVhsv(258, 72%, 58%)
CMYKcmyk(50%, 71.6%, 0%, 42%)
CIE-LABlab(27.43, 40.65, -53.12)
CIE-LCHlch(27.43, 66.89, 307.42°)
OKLaboklab(39.23% 0.0577 -0.1524)
OKLCHoklch(39.23% 0.163 290.8)
XYZxyz(8.9958, 5.2495, 28.5505)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2A94 #74942A
analogous
#2A3F94 #4A2A94 #7F2A94
triadic
#4A2A94 #944A2A #2A944A
tetradic
#4A2A94 #942A3F #74942A #2A947F
square
#4A2A94 #942A3F #74942A #2A947F
split-complementary
#4A2A94 #947F2A #3F942A
monochromatic
#1A0F35 #321C64 #4A2A94 #6238C4 #8665D3

Accessibility & contrast

On white

10.24
#4A2A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4A2A94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2A94
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2A94#FFFFFF#000000##FFFFFF
##4A2A941.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#31455C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a2a94;
/* rgb */ color: rgb(74, 42, 148);
/* oklch */ color: oklch(39.2% 0.163 290.8);
Tailwind
colors: {
  custom: {
    50: '#8466b4',
    500: '#4a2a94',
    950: '#000000',
  },
}
SCSS
$custom: #4a2a94;
$custom-light: #8466b4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2a94",
  "rgb": {
    "r": 74,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 258.113,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.39231,
    "c": 0.16296,
    "h": 290.8
  },
  "luminance": 0.0525
}

Semantic roles & 50–950 ramp

primary
#4A2A94
secondary
#9FB960
accent
#DF49B2
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4A2A94

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

Preview Lab → · Contrast checker → · Palette generator →

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