#4A2CA9#4A2CA9

#4A2CA9 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.186 H 286.0°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#4A2CA9
RGBrgb(74, 44, 169)
HSLhsl(254, 59%, 42%)
HSVhsv(254, 74%, 66%)
CMYKcmyk(56.2%, 74%, 0%, 33.7%)
CIE-LABlab(29.72, 45.75, -62.16)
CIE-LCHlch(29.72, 77.18, 306.35°)
OKLaboklab(41.43% 0.0514 -0.1789)
OKLCHoklch(41.43% 0.186 286)
XYZxyz(10.8840, 6.1212, 38.1364)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CA9 #8BA92C
analogous
#2C4DA9 #4A2CA9 #892CA9
triadic
#4A2CA9 #A94A2C #2CA94A
tetradic
#4A2CA9 #A92C4D #8BA92C #2CA989
square
#4A2CA9 #A92C4D #8BA92C #2CA989
split-complementary
#4A2CA9 #A9892C #4DA92C
monochromatic
#1F1348 #351F78 #4A2CA9 #6544CE #8D74DB

Accessibility & contrast

On white

9.44
#4A2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#4A2CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2CA9
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CA9#FFFFFF#000000##FFFFFF
##4A2CA91.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0042A7
Tritanopia (blue-blind)
#1E4E68
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4a2ca9;
/* rgb */ color: rgb(74, 44, 169);
/* oklch */ color: oklch(41.4% 0.186 286.0);
Tailwind
colors: {
  custom: {
    50: '#8768c4',
    500: '#4a2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ca9;
$custom-light: #8768c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ca9",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 254.4,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41434,
    "c": 0.18613,
    "h": 286
  },
  "luminance": 0.06122
}

Semantic roles & 50–950 ramp

primary
#4A2CA9
secondary
#AEC36E
accent
#E246BC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4A2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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