#4A2AA3#4A2AA3

#4A2AA3 is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.6% C 0.181 H 287.5°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#4A2AA3
RGBrgb(74, 42, 163)
HSLhsl(256, 59%, 40%)
HSVhsv(256, 74%, 64%)
CMYKcmyk(54.6%, 74.2%, 0%, 36.1%)
CIE-LABlab(28.79, 45.03, -60.06)
CIE-LCHlch(28.79, 75.07, 306.86°)
OKLaboklab(40.61% 0.0544 -0.1727)
OKLCHoklch(40.61% 0.181 287.5)
XYZxyz(10.2609, 5.7556, 35.2135)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2AA3 #83A32A
analogous
#2A46A3 #4A2AA3 #862AA3
triadic
#4A2AA3 #A34A2A #2AA34A
tetradic
#4A2AA3 #A32A46 #83A32A #2AA386
square
#4A2AA3 #A32A46 #83A32A #2AA386
split-complementary
#4A2AA3 #A3862A #46A32A
monochromatic
#1E1142 #341D72 #4A2AA3 #633DCD #8A6EDA

Accessibility & contrast

On white

9.76
#4A2AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4A2AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2AA3
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2AA3#FFFFFF#000000##FFFFFF
##4A2AA31.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A7
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#254B64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a2aa3;
/* rgb */ color: rgb(74, 42, 163);
/* oklch */ color: oklch(40.6% 0.181 287.5);
Tailwind
colors: {
  custom: {
    50: '#8667bf',
    500: '#4a2aa3',
    950: '#000000',
  },
}
SCSS
$custom: #4a2aa3;
$custom-light: #8667bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2aa3",
  "rgb": {
    "r": 74,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 255.868,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40607,
    "c": 0.18111,
    "h": 287.5
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#4A2AA3
secondary
#A9C068
accent
#E246B9
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A2AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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