#4A2DCA#4A2DCA

#4A2DCA is a dark, highly saturated violet. Relative luminance 0.076; OKLCH L 44.8% C 0.224 H 280.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#4A2DCA
RGBrgb(74, 45, 202)
HSLhsl(251, 64%, 48%)
HSVhsv(251, 78%, 79%)
CMYKcmyk(63.4%, 77.7%, 0%, 20.8%)
CIE-LABlab(33.13, 54.92, -76.08)
CIE-LCHlch(33.13, 93.83, 305.82°)
OKLaboklab(44.8% 0.0422 -0.2196)
OKLCHoklch(44.8% 0.224 280.9)
XYZxyz(14.4197, 7.5958, 56.5719)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DCA #ADCA2D
analogous
#2D5ECA #4A2DCA #982DCA
triadic
#4A2DCA #CA4A2D #2DCA4A
tetradic
#4A2DCA #CA2D5E #ADCA2D #2DCA98
square
#4A2DCA #CA2D5E #ADCA2D #2DCA98
split-complementary
#4A2DCA #CA982D #5ECA2D
monochromatic
#251766 #382298 #4A2DCA #725ADA #9D8CE5

Accessibility & contrast

On white

8.34
#4A2DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#4A2DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DCA
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DCA#FFFFFF#000000##FFFFFF
##4A2DCA1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CE
Deuteranopia (green-blind)
#0048C7
Tritanopia (blue-blind)
#005C7B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a2dca;
/* rgb */ color: rgb(74, 45, 202);
/* oklch */ color: oklch(44.8% 0.224 280.9);
Tailwind
colors: {
  custom: {
    50: '#8d6bdc',
    500: '#4a2dca',
    950: '#000000',
  },
}
SCSS
$custom: #4a2dca;
$custom-light: #8d6bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2dca",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 251.083,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44801,
    "c": 0.22358,
    "h": 280.9
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

primary
#4A2DCA
secondary
#C1CF83
accent
#E741C8
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4A2DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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