#4A2CB4#4A2CB4

#4A2CB4 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.199 H 284.1°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4A2CB4
RGBrgb(74, 44, 180)
HSLhsl(253, 61%, 44%)
HSVhsv(253, 76%, 71%)
CMYKcmyk(58.9%, 75.6%, 0%, 29.4%)
CIE-LABlab(30.76, 48.99, -67.02)
CIE-LCHlch(30.76, 83.01, 306.17°)
OKLaboklab(42.49% 0.0487 -0.1931)
OKLCHoklch(42.49% 0.199 284.1)
XYZxyz(11.9604, 6.5517, 43.8055)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CB4 #96B42C
analogous
#2C52B4 #4A2CB4 #8E2CB4
triadic
#4A2CB4 #B44A2C #2CB44A
tetradic
#4A2CB4 #B42C52 #96B42C #2CB48E
square
#4A2CB4 #B42C52 #96B42C #2CB48E
split-complementary
#4A2CB4 #B48E2C #52B42C
monochromatic
#221452 #362083 #4A2CB4 #684AD3 #917CDF

Accessibility & contrast

On white

9.09
#4A2CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4A2CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2CB4
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CB4#FFFFFF#000000##FFFFFF
##4A2CB41.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#08536E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a2cb4;
/* rgb */ color: rgb(74, 44, 180);
/* oklch */ color: oklch(42.5% 0.199 284.1);
Tailwind
colors: {
  custom: {
    50: '#8969cc',
    500: '#4a2cb4',
    950: '#000000',
  },
}
SCSS
$custom: #4a2cb4;
$custom-light: #8969cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2cb4",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 253.235,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4249,
    "c": 0.19914,
    "h": 284.1
  },
  "luminance": 0.06552
}

Semantic roles & 50–950 ramp

primary
#4A2CB4
secondary
#B5C775
accent
#E444C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4A2CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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