#4A2DA3#4A2DA3

#4A2DA3 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.0% C 0.178 H 287.0°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#4A2DA3
RGBrgb(74, 45, 163)
HSLhsl(255, 57%, 41%)
HSVhsv(255, 72%, 64%)
CMYKcmyk(54.6%, 72.4%, 0%, 36.1%)
CIE-LABlab(29.35, 43.44, -59.14)
CIE-LCHlch(29.35, 73.38, 306.30°)
OKLaboklab(41.01% 0.0519 -0.17)
OKLCHoklch(41.01% 0.178 287)
XYZxyz(10.3713, 5.9764, 35.2503)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DA3 #86A32D
analogous
#2D4BA3 #4A2DA3 #852DA3
triadic
#4A2DA3 #A34A2D #2DA34A
tetradic
#4A2DA3 #A32D4B #86A32D #2DA385
square
#4A2DA3 #A32D4B #86A32D #2DA385
split-complementary
#4A2DA3 #A3852D #4BA32D
monochromatic
#1E1343 #342073 #4A2DA3 #6442CB #8B72D8

Accessibility & contrast

On white

9.57
#4A2DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2DA3
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DA3#FFFFFF#000000##FFFFFF
##4A2DA31.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A6
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#254C65
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a2da3;
/* rgb */ color: rgb(74, 45, 163);
/* oklch */ color: oklch(41.0% 0.178 287.0);
Tailwind
colors: {
  custom: {
    50: '#8669bf',
    500: '#4a2da3',
    950: '#000000',
  },
}
SCSS
$custom: #4a2da3;
$custom-light: #8669bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2da3",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 254.746,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.41008,
    "c": 0.17778,
    "h": 287
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A2DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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