#4A2FA9#4A2FA9

#4A2FA9 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.183 H 285.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#4A2FA9
RGBrgb(74, 47, 169)
HSLhsl(253, 56%, 42%)
HSVhsv(253, 72%, 66%)
CMYKcmyk(56.2%, 72.2%, 0%, 33.7%)
CIE-LABlab(30.29, 44.15, -61.22)
CIE-LCHlch(30.29, 75.48, 305.80°)
OKLaboklab(41.84% 0.049 -0.1762)
OKLCHoklch(41.84% 0.183 285.5)
XYZxyz(10.9998, 6.3528, 38.1750)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2FA9 #8EA92F
analogous
#2F51A9 #4A2FA9 #872FA9
triadic
#4A2FA9 #A94A2F #2FA94A
tetradic
#4A2FA9 #A92F51 #8EA92F #2FA987
square
#4A2FA9 #A92F51 #8EA92F #2FA987
split-complementary
#4A2FA9 #A9872F #51A92F
monochromatic
#201449 #352279 #4A2FA9 #6649CC #8E79DA

Accessibility & contrast

On white

9.25
#4A2FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#4A2FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2FA9
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2FA9#FFFFFF#000000##FFFFFF
##4A2FA91.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#1E5069
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a2fa9;
/* rgb */ color: rgb(74, 47, 169);
/* oklch */ color: oklch(41.8% 0.183 285.5);
Tailwind
colors: {
  custom: {
    50: '#876ac4',
    500: '#4a2fa9',
    950: '#000000',
  },
}
SCSS
$custom: #4a2fa9;
$custom-light: #876ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2fa9",
  "rgb": {
    "r": 74,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 253.279,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41837,
    "c": 0.18285,
    "h": 285.5
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#4A2FA9
secondary
#B0C272
accent
#E048BE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A2FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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