#4A2DB9#4A2DB9

#4A2DB9 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 43.1% C 0.204 H 283.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#4A2DB9
RGBrgb(74, 45, 185)
HSLhsl(252, 61%, 45%)
HSVhsv(252, 76%, 73%)
CMYKcmyk(60%, 75.7%, 0%, 27.5%)
CIE-LABlab(31.43, 49.95, -68.89)
CIE-LCHlch(31.43, 85.10, 305.95°)
OKLaboklab(43.1% 0.0467 -0.1986)
OKLCHoklch(43.1% 0.204 283.2)
XYZxyz(12.5167, 6.8346, 46.5492)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DB9 #9CB92D
analogous
#2D56B9 #4A2DB9 #902DB9
triadic
#4A2DB9 #B94A2D #2DB94A
tetradic
#4A2DB9 #B92D56 #9CB92D #2DB990
square
#4A2DB9 #B92D56 #9CB92D #2DB990
split-complementary
#4A2DB9 #B9902D #56B92D
monochromatic
#231557 #362188 #4A2DB9 #6B4FD4 #9480E0

Accessibility & contrast

On white

8.87
#4A2DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#4A2DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DB9
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DB9#FFFFFF#000000##FFFFFF
##4A2DB91.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBD
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4a2db9;
/* rgb */ color: rgb(74, 45, 185);
/* oklch */ color: oklch(43.1% 0.204 283.2);
Tailwind
colors: {
  custom: {
    50: '#8a6acf',
    500: '#4a2db9',
    950: '#000000',
  },
}
SCSS
$custom: #4a2db9;
$custom-light: #8a6acf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2db9",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 252.429,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43103,
    "c": 0.20401,
    "h": 283.2
  },
  "luminance": 0.06835
}

Semantic roles & 50–950 ramp

primary
#4A2DB9
secondary
#B8C979
accent
#E444C3
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4A2DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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