#4B2AC2#4B2AC2

#4B2AC2 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.7% C 0.217 H 282.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#4B2AC2
RGBrgb(75, 42, 194)
HSLhsl(253, 64%, 46%)
HSVhsv(253, 78%, 76%)
CMYKcmyk(61.3%, 78.4%, 0%, 23.9%)
CIE-LABlab(31.91, 54.13, -73.40)
CIE-LCHlch(31.91, 91.20, 306.41°)
OKLaboklab(43.73% 0.0476 -0.2117)
OKLCHoklch(43.73% 0.217 282.7)
XYZxyz(13.4642, 7.0459, 51.6790)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B2AC2 #A1C22A
analogous
#2A55C2 #4B2AC2 #972AC2
triadic
#4B2AC2 #C24B2A #2AC24B
tetradic
#4B2AC2 #C22A55 #A1C22A #2AC297
square
#4B2AC2 #C22A55 #A1C22A #2AC297
split-complementary
#4B2AC2 #C2972A #55C22A
monochromatic
#24145D #381F90 #4B2AC2 #6E50D9 #9882E4

Accessibility & contrast

On white

8.72
#4B2AC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#4B2AC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4B2AC2
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B2AC2#FFFFFF#000000##FFFFFF
##4B2AC21.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C6
Deuteranopia (green-blind)
#0046BF
Tritanopia (blue-blind)
#005776
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4b2ac2;
/* rgb */ color: rgb(75, 42, 194);
/* oklch */ color: oklch(43.7% 0.217 282.7);
Tailwind
colors: {
  custom: {
    50: '#8c69d6',
    500: '#4b2ac2',
    950: '#000000',
  },
}
SCSS
$custom: #4b2ac2;
$custom-light: #8c69d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b2ac2",
  "rgb": {
    "r": 75,
    "g": 42,
    "b": 194
  },
  "hsl": {
    "h": 253.026,
    "s": 64.407,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43733,
    "c": 0.21699,
    "h": 282.7
  },
  "luminance": 0.07047
}

Semantic roles & 50–950 ramp

primary
#4B2AC2
secondary
#BBCD7B
accent
#E740C3
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4B2AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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