#4A2A92#4A2A92

#4A2A92 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.1% C 0.161 H 291.2°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#4A2A92
RGBrgb(74, 42, 146)
HSLhsl(258, 55%, 37%)
HSVhsv(258, 71%, 57%)
CMYKcmyk(49.3%, 71.2%, 0%, 42.7%)
CIE-LABlab(27.26, 40.06, -52.18)
CIE-LCHlch(27.26, 65.78, 307.52°)
OKLaboklab(39.05% 0.0581 -0.1496)
OKLCHoklch(39.05% 0.161 291.2)
XYZxyz(8.8388, 5.1868, 27.7240)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2A92 #72922A
analogous
#2A3E92 #4A2A92 #7E2A92
triadic
#4A2A92 #924A2A #2A924A
tetradic
#4A2A92 #922A3E #72922A #2A927E
square
#4A2A92 #922A3E #72922A #2A927E
split-complementary
#4A2A92 #927E2A #3E922A
monochromatic
#1A0F33 #321C62 #4A2A92 #6238C2 #8664D2

Accessibility & contrast

On white

10.31
#4A2A92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4A2A92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2A92
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2A92#FFFFFF#000000##FFFFFF
##4A2A921.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004295
Deuteranopia (green-blind)
#003E90
Tritanopia (blue-blind)
#33445B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a2a92;
/* rgb */ color: rgb(74, 42, 146);
/* oklch */ color: oklch(39.1% 0.161 291.2);
Tailwind
colors: {
  custom: {
    50: '#8466b3',
    500: '#4a2a92',
    950: '#000000',
  },
}
SCSS
$custom: #4a2a92;
$custom-light: #8466b3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2a92",
  "rgb": {
    "r": 74,
    "g": 42,
    "b": 146
  },
  "hsl": {
    "h": 258.462,
    "s": 55.319,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39054,
    "c": 0.16051,
    "h": 291.2
  },
  "luminance": 0.05187
}

Semantic roles & 50–950 ramp

primary
#4A2A92
secondary
#9DB85F
accent
#DF49B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2A92

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

Preview Lab → · Contrast checker → · Palette generator →

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