#4A2DBB#4A2DBB

#4A2DBB is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.3% C 0.206 H 282.9°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#4A2DBB
RGBrgb(74, 45, 187)
HSLhsl(252, 61%, 45%)
HSVhsv(252, 76%, 73%)
CMYKcmyk(60.4%, 75.9%, 0%, 26.7%)
CIE-LABlab(31.62, 50.54, -69.76)
CIE-LCHlch(31.62, 86.14, 305.93°)
OKLaboklab(43.3% 0.0462 -0.2011)
OKLCHoklch(43.3% 0.206 282.9)
XYZxyz(12.7293, 6.9196, 47.6689)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DBB #9EBB2D
analogous
#2D57BB #4A2DBB #912DBB
triadic
#4A2DBB #BB4A2D #2DBB4A
tetradic
#4A2DBB #BB2D57 #9EBB2D #2DBB91
square
#4A2DBB #BB2D57 #9EBB2D #2DBB91
split-complementary
#4A2DBB #BB912D #57BB2D
monochromatic
#231558 #36218A #4A2DBB #6B50D5 #9582E1

Accessibility & contrast

On white

8.81
#4A2DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#4A2DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DBB
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DBB#FFFFFF#000000##FFFFFF
##4A2DBB1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBF
Deuteranopia (green-blind)
#0046B8
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4a2dbb;
/* rgb */ color: rgb(74, 45, 187);
/* oklch */ color: oklch(43.3% 0.206 282.9);
Tailwind
colors: {
  custom: {
    50: '#8a6ad1',
    500: '#4a2dbb',
    950: '#000000',
  },
}
SCSS
$custom: #4a2dbb;
$custom-light: #8a6ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2dbb",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 252.254,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43299,
    "c": 0.20635,
    "h": 282.9
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

primary
#4A2DBB
secondary
#B9CA7A
accent
#E443C3
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A2DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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