#4A2DA4#4A2DA4

#4A2DA4 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.1% C 0.179 H 286.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#4A2DA4
RGBrgb(74, 45, 164)
HSLhsl(255, 57%, 41%)
HSVhsv(255, 73%, 64%)
CMYKcmyk(54.9%, 72.6%, 0%, 35.7%)
CIE-LABlab(29.44, 43.74, -59.59)
CIE-LCHlch(29.44, 73.92, 306.28°)
OKLaboklab(41.1% 0.0517 -0.1714)
OKLCHoklch(41.1% 0.179 286.8)
XYZxyz(10.4613, 6.0124, 35.7240)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DA4 #87A42D
analogous
#2D4BA4 #4A2DA4 #852DA4
triadic
#4A2DA4 #A44A2D #2DA44A
tetradic
#4A2DA4 #A42D4B #87A42D #2DA485
square
#4A2DA4 #A42D4B #87A42D #2DA485
split-complementary
#4A2DA4 #A4852D #4BA42D
monochromatic
#1F1344 #342074 #4A2DA4 #6443CB #8C73D9

Accessibility & contrast

On white

9.53
#4A2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#4A2DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DA4
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DA4#FFFFFF#000000##FFFFFF
##4A2DA41.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A8
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#244D65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a2da4;
/* rgb */ color: rgb(74, 45, 164);
/* oklch */ color: oklch(41.1% 0.179 286.8);
Tailwind
colors: {
  custom: {
    50: '#8669c0',
    500: '#4a2da4',
    950: '#000000',
  },
}
SCSS
$custom: #4a2da4;
$custom-light: #8669c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2da4",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 254.622,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.411,
    "c": 0.179,
    "h": 286.8
  },
  "luminance": 0.06013
}

Semantic roles & 50–950 ramp

primary
#4A2DA4
secondary
#ACC06D
accent
#E048BB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A2DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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