#4A2DAE#4A2DAE

#4A2DAE is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.191 H 285.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#4A2DAE
RGBrgb(74, 45, 174)
HSLhsl(253, 59%, 43%)
HSVhsv(253, 74%, 68%)
CMYKcmyk(57.5%, 74.1%, 0%, 31.8%)
CIE-LABlab(30.37, 46.71, -64.08)
CIE-LCHlch(30.37, 79.30, 306.09°)
OKLaboklab(42.04% 0.0494 -0.1845)
OKLCHoklch(42.04% 0.191 285)
XYZxyz(11.4001, 6.3879, 40.6685)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DAE #91AE2D
analogous
#2D51AE #4A2DAE #8A2DAE
triadic
#4A2DAE #AE4A2D #2DAE4A
tetradic
#4A2DAE #AE2D51 #91AE2D #2DAE8A
square
#4A2DAE #AE2D51 #91AE2D #2DAE8A
split-complementary
#4A2DAE #AE8A2D #51AE2D
monochromatic
#21144D #35207D #4A2DAE #6748D0 #8F79DC

Accessibility & contrast

On white

9.22
#4A2DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4A2DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DAE
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DAE#FFFFFF#000000##FFFFFF
##4A2DAE1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0043AC
Tritanopia (blue-blind)
#16516B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4a2dae;
/* rgb */ color: rgb(74, 45, 174);
/* oklch */ color: oklch(42.0% 0.191 285.0);
Tailwind
colors: {
  custom: {
    50: '#8869c7',
    500: '#4a2dae',
    950: '#000000',
  },
}
SCSS
$custom: #4a2dae;
$custom-light: #8869c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2dae",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 253.488,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42039,
    "c": 0.19104,
    "h": 285
  },
  "luminance": 0.06389
}

Semantic roles & 50–950 ramp

primary
#4A2DAE
secondary
#B2C472
accent
#E246BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4A2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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