#4A2CB5#4A2CB5

#4A2CB5 is a dark, highly saturated violet. Relative luminance 0.066; OKLCH L 42.6% C 0.200 H 284.0°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#4A2CB5
RGBrgb(74, 44, 181)
HSLhsl(253, 61%, 44%)
HSVhsv(253, 76%, 71%)
CMYKcmyk(59.1%, 75.7%, 0%, 29%)
CIE-LABlab(30.86, 49.28, -67.45)
CIE-LCHlch(30.86, 83.54, 306.15°)
OKLaboklab(42.59% 0.0484 -0.1944)
OKLCHoklch(42.59% 0.2 284)
XYZxyz(12.0626, 6.5926, 44.3440)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CB5 #97B52C
analogous
#2C52B5 #4A2CB5 #8F2CB5
triadic
#4A2CB5 #B54A2C #2CB54A
tetradic
#4A2CB5 #B52C52 #97B52C #2CB58F
square
#4A2CB5 #B52C52 #97B52C #2CB58F
split-complementary
#4A2CB5 #B58F2C #52B52C
monochromatic
#221453 #362084 #4A2CB5 #694BD3 #927CDF

Accessibility & contrast

On white

9.06
#4A2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#4A2CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2CB5
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CB5#FFFFFF#000000##FFFFFF
##4A2CB51.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB9
Deuteranopia (green-blind)
#0044B2
Tritanopia (blue-blind)
#05536F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a2cb5;
/* rgb */ color: rgb(74, 44, 181);
/* oklch */ color: oklch(42.6% 0.200 284.0);
Tailwind
colors: {
  custom: {
    50: '#8969cc',
    500: '#4a2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #4a2cb5;
$custom-light: #8969cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2cb5",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 253.139,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42587,
    "c": 0.20031,
    "h": 284
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#4A2CB5
secondary
#B6C875
accent
#E444C1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4A2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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