#4A2DC7#4A2DC7

#4A2DC7 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.220 H 281.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#4A2DC7
RGBrgb(74, 45, 199)
HSLhsl(251, 63%, 48%)
HSVhsv(251, 77%, 78%)
CMYKcmyk(62.8%, 77.4%, 0%, 22%)
CIE-LABlab(32.82, 54.05, -74.84)
CIE-LCHlch(32.82, 92.31, 305.84°)
OKLaboklab(44.5% 0.043 -0.2159)
OKLCHoklch(44.5% 0.22 281.3)
XYZxyz(14.0680, 7.4551, 54.7194)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DC7 #AAC72D
analogous
#2D5DC7 #4A2DC7 #972DC7
triadic
#4A2DC7 #C74A2D #2DC74A
tetradic
#4A2DC7 #C72D5D #AAC72D #2DC797
square
#4A2DC7 #C72D5D #AAC72D #2DC797
split-complementary
#4A2DC7 #C7972D #5DC72D
monochromatic
#251663 #372295 #4A2DC7 #7058D9 #9B8AE5

Accessibility & contrast

On white

8.43
#4A2DC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#4A2DC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DC7
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DC7#FFFFFF#000000##FFFFFF
##4A2DC71.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CB
Deuteranopia (green-blind)
#0048C4
Tritanopia (blue-blind)
#005A79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a2dc7;
/* rgb */ color: rgb(74, 45, 199);
/* oklch */ color: oklch(44.5% 0.220 281.3);
Tailwind
colors: {
  custom: {
    50: '#8c6ad9',
    500: '#4a2dc7',
    950: '#000000',
  },
}
SCSS
$custom: #4a2dc7;
$custom-light: #8c6ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2dc7",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 199
  },
  "hsl": {
    "h": 251.299,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.44497,
    "c": 0.22017,
    "h": 281.3
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

primary
#4A2DC7
secondary
#C0CE81
accent
#E642C7
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4A2DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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