#4A2CA4#4A2CA4

#4A2CA4 is a dark, vivid violet. Relative luminance 0.059; OKLCH L 41.0% C 0.180 H 287.0°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#4A2CA4
RGBrgb(74, 44, 164)
HSLhsl(255, 58%, 41%)
HSVhsv(255, 73%, 64%)
CMYKcmyk(54.9%, 73.2%, 0%, 35.7%)
CIE-LABlab(29.25, 44.27, -59.90)
CIE-LCHlch(29.25, 74.49, 306.47°)
OKLaboklab(40.97% 0.0526 -0.1723)
OKLCHoklch(40.97% 0.18 287)
XYZxyz(10.4236, 5.9370, 35.7115)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CA4 #86A42C
analogous
#2C4AA4 #4A2CA4 #862CA4
triadic
#4A2CA4 #A44A2C #2CA44A
tetradic
#4A2CA4 #A42C4A #86A42C #2CA486
square
#4A2CA4 #A42C4A #86A42C #2CA486
split-complementary
#4A2CA4 #A4862C #4AA42C
monochromatic
#1E1243 #341F74 #4A2CA4 #6441CC #8B71D9

Accessibility & contrast

On white

9.60
#4A2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2CA4
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CA4#FFFFFF#000000##FFFFFF
##4A2CA41.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#244C65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a2ca4;
/* rgb */ color: rgb(74, 44, 164);
/* oklch */ color: oklch(41.0% 0.180 287.0);
Tailwind
colors: {
  custom: {
    50: '#8668c0',
    500: '#4a2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #4a2ca4;
$custom-light: #8668c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2ca4",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 255,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40965,
    "c": 0.18012,
    "h": 287
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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