#4A2CA3#4A2CA3

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

Color values

HEX#4A2CA3
RGBrgb(74, 44, 163)
HSLhsl(255, 57%, 41%)
HSVhsv(255, 73%, 64%)
CMYKcmyk(54.6%, 73%, 0%, 36.1%)
CIE-LABlab(29.16, 43.98, -59.45)
CIE-LCHlch(29.16, 73.95, 306.49°)
OKLaboklab(40.87% 0.0528 -0.1709)
OKLCHoklch(40.87% 0.179 287.2)
XYZxyz(10.3336, 5.9010, 35.2377)
Luminance0.0590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CA3 #85A32C
analogous
#2C49A3 #4A2CA3 #852CA3
triadic
#4A2CA3 #A34A2C #2CA34A
tetradic
#4A2CA3 #A32C49 #85A32C #2CA385
square
#4A2CA3 #A32C49 #85A32C #2CA385
split-complementary
#4A2CA3 #A3852C #49A32C
monochromatic
#1E1243 #341F73 #4A2CA3 #6441CC #8B71D9

Accessibility & contrast

On white

9.63
#4A2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4A2CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2CA3
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CA3#FFFFFF#000000##FFFFFF
##4A2CA31.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#0041A1
Tritanopia (blue-blind)
#254C65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a2ca3;
/* rgb */ color: rgb(74, 44, 163);
/* oklch */ color: oklch(40.9% 0.179 287.2);
Tailwind
colors: {
  custom: {
    50: '#8668bf',
    500: '#4a2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ca3;
$custom-light: #8668bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ca3",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 255.126,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40872,
    "c": 0.17891,
    "h": 287.2
  },
  "luminance": 0.05902
}

Semantic roles & 50–950 ramp

primary
#4A2CA3
secondary
#AAC06B
accent
#E147BA
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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