#4A2DC2#4A2DC2

#4A2DC2 is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.0% C 0.214 H 281.9°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#4A2DC2
RGBrgb(74, 45, 194)
HSLhsl(252, 62%, 47%)
HSVhsv(252, 77%, 76%)
CMYKcmyk(61.9%, 76.8%, 0%, 23.9%)
CIE-LABlab(32.32, 52.59, -72.74)
CIE-LCHlch(32.32, 89.76, 305.87°)
OKLaboklab(43.99% 0.0443 -0.2098)
OKLCHoklch(43.99% 0.214 281.9)
XYZxyz(13.4970, 7.2267, 51.7121)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DC2 #A5C22D
analogous
#2D5BC2 #4A2DC2 #952DC2
triadic
#4A2DC2 #C24A2D #2DC24A
tetradic
#4A2DC2 #C22D5B #A5C22D #2DC295
square
#4A2DC2 #C22D5B #A5C22D #2DC295
split-complementary
#4A2DC2 #C2952D #5BC22D
monochromatic
#24165F #372190 #4A2DC2 #6E55D7 #9886E3

Accessibility & contrast

On white

8.59
#4A2DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4A2DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DC2
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DC2#FFFFFF#000000##FFFFFF
##4A2DC21.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C6
Deuteranopia (green-blind)
#0047BF
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a2dc2;
/* rgb */ color: rgb(74, 45, 194);
/* oklch */ color: oklch(44.0% 0.214 281.9);
Tailwind
colors: {
  custom: {
    50: '#8b6ad6',
    500: '#4a2dc2',
    950: '#000000',
  },
}
SCSS
$custom: #4a2dc2;
$custom-light: #8b6ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2dc2",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 251.678,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43994,
    "c": 0.21444,
    "h": 281.9
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#4A2DC2
secondary
#BDCD7E
accent
#E542C6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A2DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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