#4A2DC9#4A2DC9

#4A2DC9 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.7% C 0.222 H 281.0°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4A2DC9
RGBrgb(74, 45, 201)
HSLhsl(251, 63%, 48%)
HSVhsv(251, 78%, 79%)
CMYKcmyk(63.2%, 77.6%, 0%, 21.2%)
CIE-LABlab(33.02, 54.63, -75.67)
CIE-LCHlch(33.02, 93.33, 305.83°)
OKLaboklab(44.7% 0.0425 -0.2184)
OKLCHoklch(44.7% 0.222 281)
XYZxyz(14.3017, 7.5486, 55.9504)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DC9 #ACC92D
analogous
#2D5EC9 #4A2DC9 #982DC9
triadic
#4A2DC9 #C94A2D #2DC94A
tetradic
#4A2DC9 #C92D5E #ACC92D #2DC998
square
#4A2DC9 #C92D5E #ACC92D #2DC998
split-complementary
#4A2DC9 #C9982D #5EC92D
monochromatic
#251765 #382297 #4A2DC9 #7159DA #9C8BE5

Accessibility & contrast

On white

8.37
#4A2DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4A2DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DC9
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DC9#FFFFFF#000000##FFFFFF
##4A2DC91.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CD
Deuteranopia (green-blind)
#0048C6
Tritanopia (blue-blind)
#005B7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4a2dc9;
/* rgb */ color: rgb(74, 45, 201);
/* oklch */ color: oklch(44.7% 0.222 281.0);
Tailwind
colors: {
  custom: {
    50: '#8d6bdb',
    500: '#4a2dc9',
    950: '#000000',
  },
}
SCSS
$custom: #4a2dc9;
$custom-light: #8d6bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2dc9",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 251.154,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.44699,
    "c": 0.22245,
    "h": 281
  },
  "luminance": 0.0755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A2DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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