#4A2DB2#4A2DB2

#4A2DB2 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.196 H 284.3°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#4A2DB2
RGBrgb(74, 45, 178)
HSLhsl(253, 60%, 44%)
HSVhsv(253, 75%, 70%)
CMYKcmyk(58.4%, 74.7%, 0%, 30.2%)
CIE-LABlab(30.75, 47.89, -65.85)
CIE-LCHlch(30.75, 81.42, 306.03°)
OKLaboklab(42.42% 0.0485 -0.1897)
OKLCHoklch(42.42% 0.196 284.3)
XYZxyz(11.7958, 6.5462, 42.7528)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DB2 #95B22D
analogous
#2D52B2 #4A2DB2 #8C2DB2
triadic
#4A2DB2 #B24A2D #2DB24A
tetradic
#4A2DB2 #B22D52 #95B22D #2DB28C
square
#4A2DB2 #B22D52 #95B22D #2DB28C
split-complementary
#4A2DB2 #B28C2D #52B22D
monochromatic
#211450 #362181 #4A2DB2 #684BD1 #917CDE

Accessibility & contrast

On white

9.09
#4A2DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4A2DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DB2
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DB2#FFFFFF#000000##FFFFFF
##4A2DB21.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#0E526D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a2db2;
/* rgb */ color: rgb(74, 45, 178);
/* oklch */ color: oklch(42.4% 0.196 284.3);
Tailwind
colors: {
  custom: {
    50: '#8869ca',
    500: '#4a2db2',
    950: '#000000',
  },
}
SCSS
$custom: #4a2db2;
$custom-light: #8869ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2db2",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 253.083,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42422,
    "c": 0.19578,
    "h": 284.3
  },
  "luminance": 0.06547
}

Semantic roles & 50–950 ramp

primary
#4A2DB2
secondary
#B4C675
accent
#E345C0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4A2DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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