#4A2DA5#4A2DA5

#4A2DA5 is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.2% C 0.180 H 286.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#4A2DA5
RGBrgb(74, 45, 165)
HSLhsl(255, 57%, 41%)
HSVhsv(255, 73%, 65%)
CMYKcmyk(55.2%, 72.7%, 0%, 35.3%)
CIE-LABlab(29.54, 44.04, -60.05)
CIE-LCHlch(29.54, 74.46, 306.26°)
OKLaboklab(41.19% 0.0515 -0.1727)
OKLCHoklch(41.19% 0.18 286.6)
XYZxyz(10.5519, 6.0487, 36.2015)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DA5 #88A52D
analogous
#2D4CA5 #4A2DA5 #862DA5
triadic
#4A2DA5 #A54A2D #2DA54A
tetradic
#4A2DA5 #A52D4C #88A52D #2DA586
square
#4A2DA5 #A52D4C #88A52D #2DA586
split-complementary
#4A2DA5 #A5862D #4CA52D
monochromatic
#1F1345 #342075 #4A2DA5 #6443CC #8C73D9

Accessibility & contrast

On white

9.50
#4A2DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#4A2DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DA5
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DA5#FFFFFF#000000##FFFFFF
##4A2DA51.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A9
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#234D66
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #4a2da5;
/* rgb */ color: rgb(74, 45, 165);
/* oklch */ color: oklch(41.2% 0.180 286.6);
Tailwind
colors: {
  custom: {
    50: '#8669c1',
    500: '#4a2da5',
    950: '#000000',
  },
}
SCSS
$custom: #4a2da5;
$custom-light: #8669c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2da5",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 254.5,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41193,
    "c": 0.18021,
    "h": 286.6
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

primary
#4A2DA5
secondary
#ACC16D
accent
#E047BB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4A2DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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