#4A2DC1#4A2DC1

#4A2DC1 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.9% C 0.213 H 282.1°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4A2DC1
RGBrgb(74, 45, 193)
HSLhsl(252, 62%, 47%)
HSVhsv(252, 77%, 76%)
CMYKcmyk(61.7%, 76.7%, 0%, 24.3%)
CIE-LABlab(32.22, 52.30, -72.31)
CIE-LCHlch(32.22, 89.24, 305.88°)
OKLaboklab(43.89% 0.0446 -0.2086)
OKLCHoklch(43.89% 0.213 282.1)
XYZxyz(13.3851, 7.1819, 51.1226)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DC1 #A4C12D
analogous
#2D5AC1 #4A2DC1 #942DC1
triadic
#4A2DC1 #C14A2D #2DC14A
tetradic
#4A2DC1 #C12D5A #A4C12D #2DC194
square
#4A2DC1 #C12D5A #A4C12D #2DC194
split-complementary
#4A2DC1 #C1942D #5AC12D
monochromatic
#24165E #37218F #4A2DC1 #6E54D7 #9886E3

Accessibility & contrast

On white

8.62
#4A2DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4A2DC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DC1
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DC1#FFFFFF#000000##FFFFFF
##4A2DC11.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C5
Deuteranopia (green-blind)
#0046BE
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a2dc1;
/* rgb */ color: rgb(74, 45, 193);
/* oklch */ color: oklch(43.9% 0.213 282.1);
Tailwind
colors: {
  custom: {
    50: '#8b6ad5',
    500: '#4a2dc1',
    950: '#000000',
  },
}
SCSS
$custom: #4a2dc1;
$custom-light: #8b6ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2dc1",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 193
  },
  "hsl": {
    "h": 251.757,
    "s": 62.185,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43894,
    "c": 0.2133,
    "h": 282.1
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#4A2DC1
secondary
#BDCC7E
accent
#E543C5
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A2DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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