#4A2CA5#4A2CA5

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

Color values

HEX#4A2CA5
RGBrgb(74, 44, 165)
HSLhsl(255, 58%, 41%)
HSVhsv(255, 73%, 65%)
CMYKcmyk(55.2%, 73.3%, 0%, 35.3%)
CIE-LABlab(29.34, 44.57, -60.36)
CIE-LCHlch(29.34, 75.03, 306.44°)
OKLaboklab(41.06% 0.0523 -0.1736)
OKLCHoklch(41.06% 0.181 286.8)
XYZxyz(10.5142, 5.9733, 36.1889)
Luminance0.0597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CA5 #87A52C
analogous
#2C4AA5 #4A2CA5 #862CA5
triadic
#4A2CA5 #A54A2C #2CA54A
tetradic
#4A2CA5 #A52C4A #87A52C #2CA586
square
#4A2CA5 #A52C4A #87A52C #2CA586
split-complementary
#4A2CA5 #A5862C #4AA52C
monochromatic
#1F1244 #341F75 #4A2CA5 #6442CD #8C72D9

Accessibility & contrast

On white

9.57
#4A2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#4A2CA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2CA5
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CA5#FFFFFF#000000##FFFFFF
##4A2CA51.009.572.199.57
#FFFFFF9.571.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#234D66
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a2ca5;
/* rgb */ color: rgb(74, 44, 165);
/* oklch */ color: oklch(41.1% 0.181 286.8);
Tailwind
colors: {
  custom: {
    50: '#8668c1',
    500: '#4a2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ca5;
$custom-light: #8668c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ca5",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 254.876,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41058,
    "c": 0.18132,
    "h": 286.8
  },
  "luminance": 0.05974
}

Semantic roles & 50–950 ramp

primary
#4A2CA5
secondary
#ACC16C
accent
#E147BB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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