#4A2EA3#4A2EA3

#4A2EA3 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.1% C 0.177 H 286.8°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4A2EA3
RGBrgb(74, 46, 163)
HSLhsl(254, 56%, 41%)
HSVhsv(254, 72%, 64%)
CMYKcmyk(54.6%, 71.8%, 0%, 36.1%)
CIE-LABlab(29.55, 42.90, -58.82)
CIE-LCHlch(29.55, 72.80, 306.11°)
OKLaboklab(41.15% 0.0511 -0.1691)
OKLCHoklch(41.15% 0.177 286.8)
XYZxyz(10.4099, 6.0536, 35.2632)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2EA3 #87A32E
analogous
#2E4CA3 #4A2EA3 #842EA3
triadic
#4A2EA3 #A34A2E #2EA34A
tetradic
#4A2EA3 #A32E4C #87A32E #2EA384
square
#4A2EA3 #A32E4C #87A32E #2EA384
split-complementary
#4A2EA3 #A3842E #4CA32E
monochromatic
#1F1344 #342173 #4A2EA3 #6444CA #8C74D8

Accessibility & contrast

On white

9.50
#4A2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4A2EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2EA3
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2EA3#FFFFFF#000000##FFFFFF
##4A2EA31.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#254D65
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4a2ea3;
/* rgb */ color: rgb(74, 46, 163);
/* oklch */ color: oklch(41.1% 0.177 286.8);
Tailwind
colors: {
  custom: {
    50: '#8669bf',
    500: '#4a2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ea3;
$custom-light: #8669bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ea3",
  "rgb": {
    "r": 74,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 254.359,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41146,
    "c": 0.17664,
    "h": 286.8
  },
  "luminance": 0.06054
}

Semantic roles & 50–950 ramp

primary
#4A2EA3
secondary
#ACBF6D
accent
#DF49BB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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