#4A2EA0#4A2EA0

#4A2EA0 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.9% C 0.173 H 287.4°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#4A2EA0
RGBrgb(74, 46, 160)
HSLhsl(255, 55%, 40%)
HSVhsv(255, 71%, 63%)
CMYKcmyk(53.7%, 71.2%, 0%, 37.3%)
CIE-LABlab(29.28, 42.00, -57.44)
CIE-LCHlch(29.28, 71.16, 306.18°)
OKLaboklab(40.87% 0.0517 -0.1651)
OKLCHoklch(40.87% 0.173 287.4)
XYZxyz(10.1443, 5.9474, 33.8643)
Luminance0.0595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2EA0 #84A02E
analogous
#2E4BA0 #4A2EA0 #832EA0
triadic
#4A2EA0 #A04A2E #2EA04A
tetradic
#4A2EA0 #A02E4B #84A02E #2EA083
square
#4A2EA0 #A02E4B #84A02E #2EA083
split-complementary
#4A2EA0 #A0832E #4BA02E
monochromatic
#1E1341 #342070 #4A2EA0 #6342C9 #8B72D6

Accessibility & contrast

On white

9.59
#4A2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4A2EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2EA0
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2EA0#FFFFFF#000000##FFFFFF
##4A2EA01.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A3
Deuteranopia (green-blind)
#00429E
Tritanopia (blue-blind)
#284C63
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a2ea0;
/* rgb */ color: rgb(74, 46, 160);
/* oklch */ color: oklch(40.9% 0.173 287.4);
Tailwind
colors: {
  custom: {
    50: '#8569bd',
    500: '#4a2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ea0;
$custom-light: #8569bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ea0",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 254.737,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40873,
    "c": 0.17295,
    "h": 287.4
  },
  "luminance": 0.05948
}

Semantic roles & 50–950 ramp

primary
#4A2EA0
secondary
#AABE6C
accent
#DF49BA
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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