#4A2DC3#4A2DC3

#4A2DC3 is a dark, highly saturated violet. Relative luminance 0.073; OKLCH L 44.1% C 0.216 H 281.8°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#4A2DC3
RGBrgb(74, 45, 195)
HSLhsl(252, 63%, 47%)
HSVhsv(252, 77%, 76%)
CMYKcmyk(62.1%, 76.9%, 0%, 23.5%)
CIE-LABlab(32.42, 52.88, -73.16)
CIE-LCHlch(32.42, 90.27, 305.86°)
OKLaboklab(44.09% 0.0441 -0.211)
OKLCHoklch(44.09% 0.216 281.8)
XYZxyz(13.6097, 7.2718, 52.3056)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DC3 #A6C32D
analogous
#2D5BC3 #4A2DC3 #952DC3
triadic
#4A2DC3 #C34A2D #2DC34A
tetradic
#4A2DC3 #C32D5B #A6C32D #2DC395
square
#4A2DC3 #C32D5B #A6C32D #2DC395
split-complementary
#4A2DC3 #C3952D #5BC32D
monochromatic
#241660 #372291 #4A2DC3 #6F55D8 #9987E3

Accessibility & contrast

On white

8.56
#4A2DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2DC3
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DC3#FFFFFF#000000##FFFFFF
##4A2DC31.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C7
Deuteranopia (green-blind)
#0047C0
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a2dc3;
/* rgb */ color: rgb(74, 45, 195);
/* oklch */ color: oklch(44.1% 0.216 281.8);
Tailwind
colors: {
  custom: {
    50: '#8c6ad6',
    500: '#4a2dc3',
    950: '#000000',
  },
}
SCSS
$custom: #4a2dc3;
$custom-light: #8c6ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2dc3",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 251.6,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44094,
    "c": 0.21559,
    "h": 281.8
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#4A2DC3
secondary
#BECD7F
accent
#E642C6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4A2DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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