#4A2DC0#4A2DC0

#4A2DC0 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.8% C 0.212 H 282.2°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#4A2DC0
RGBrgb(74, 45, 192)
HSLhsl(252, 62%, 46%)
HSVhsv(252, 77%, 75%)
CMYKcmyk(61.5%, 76.6%, 0%, 24.7%)
CIE-LABlab(32.12, 52.01, -71.89)
CIE-LCHlch(32.12, 88.73, 305.88°)
OKLaboklab(43.8% 0.0449 -0.2073)
OKLCHoklch(43.8% 0.212 282.2)
XYZxyz(13.2739, 7.1374, 50.5371)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DC0 #A3C02D
analogous
#2D5AC0 #4A2DC0 #942DC0
triadic
#4A2DC0 #C04A2D #2DC04A
tetradic
#4A2DC0 #C02D5A #A3C02D #2DC094
square
#4A2DC0 #C02D5A #A3C02D #2DC094
split-complementary
#4A2DC0 #C0942D #5AC02D
monochromatic
#24165D #37218E #4A2DC0 #6D53D7 #9785E2

Accessibility & contrast

On white

8.65
#4A2DC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4A2DC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DC0
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DC0#FFFFFF#000000##FFFFFF
##4A2DC01.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C4
Deuteranopia (green-blind)
#0046BD
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a2dc0;
/* rgb */ color: rgb(74, 45, 192);
/* oklch */ color: oklch(43.8% 0.212 282.2);
Tailwind
colors: {
  custom: {
    50: '#8b6ad4',
    500: '#4a2dc0',
    950: '#000000',
  },
}
SCSS
$custom: #4a2dc0;
$custom-light: #8b6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2dc0",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 251.837,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43795,
    "c": 0.21214,
    "h": 282.2
  },
  "luminance": 0.07138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A2DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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