#4A2DC8#4A2DC8

#4A2DC8 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.6% C 0.221 H 281.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#4A2DC8
RGBrgb(74, 45, 200)
HSLhsl(251, 63%, 48%)
HSVhsv(251, 78%, 78%)
CMYKcmyk(63%, 77.5%, 0%, 21.6%)
CIE-LABlab(32.92, 54.34, -75.25)
CIE-LCHlch(32.92, 92.82, 305.83°)
OKLaboklab(44.6% 0.0427 -0.2171)
OKLCHoklch(44.6% 0.221 281.1)
XYZxyz(14.1845, 7.5017, 55.3329)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DC8 #ABC82D
analogous
#2D5DC8 #4A2DC8 #972DC8
triadic
#4A2DC8 #C84A2D #2DC84A
tetradic
#4A2DC8 #C82D5D #ABC82D #2DC897
square
#4A2DC8 #C82D5D #ABC82D #2DC897
split-complementary
#4A2DC8 #C8972D #5DC82D
monochromatic
#251764 #382296 #4A2DC8 #7159DA #9B8BE5

Accessibility & contrast

On white

8.40
#4A2DC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#4A2DC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DC8
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DC8#FFFFFF#000000##FFFFFF
##4A2DC81.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053CC
Deuteranopia (green-blind)
#0048C5
Tritanopia (blue-blind)
#005B7A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a2dc8;
/* rgb */ color: rgb(74, 45, 200);
/* oklch */ color: oklch(44.6% 0.221 281.1);
Tailwind
colors: {
  custom: {
    50: '#8c6ada',
    500: '#4a2dc8',
    950: '#000000',
  },
}
SCSS
$custom: #4a2dc8;
$custom-light: #8c6ada;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2dc8",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 200
  },
  "hsl": {
    "h": 251.226,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44598,
    "c": 0.22131,
    "h": 281.1
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#4A2DC8
secondary
#C0CF82
accent
#E641C7
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4A2DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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