#4A2BC2#4A2BC2

#4A2BC2 is a dark, highly saturated violet. Relative luminance 0.071; OKLCH L 43.8% C 0.216 H 282.2°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#4A2BC2
RGBrgb(74, 43, 194)
HSLhsl(252, 64%, 46%)
HSVhsv(252, 78%, 76%)
CMYKcmyk(61.9%, 77.8%, 0%, 23.9%)
CIE-LABlab(31.98, 53.55, -73.29)
CIE-LCHlch(31.98, 90.77, 306.16°)
OKLaboklab(43.76% 0.0455 -0.2114)
OKLCHoklch(43.76% 0.216 282.2)
XYZxyz(13.4225, 7.0777, 51.6873)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2BC2 #A3C22B
analogous
#2B58C2 #4A2BC2 #962BC2
triadic
#4A2BC2 #C24A2B #2BC24A
tetradic
#4A2BC2 #C22B58 #A3C22B #2BC296
square
#4A2BC2 #C22B58 #A3C22B #2BC296
split-complementary
#4A2BC2 #C2962B #58C22B
monochromatic
#24155E #372090 #4A2BC2 #6D52D9 #9784E4

Accessibility & contrast

On white

8.69
#4A2BC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4A2BC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2BC2
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2BC2#FFFFFF#000000##FFFFFF
##4A2BC21.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a2bc2;
/* rgb */ color: rgb(74, 43, 194);
/* oklch */ color: oklch(43.8% 0.216 282.2);
Tailwind
colors: {
  custom: {
    50: '#8b69d6',
    500: '#4a2bc2',
    950: '#000000',
  },
}
SCSS
$custom: #4a2bc2;
$custom-light: #8b69d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2bc2",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 194
  },
  "hsl": {
    "h": 252.318,
    "s": 63.713,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43761,
    "c": 0.21625,
    "h": 282.2
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#4A2BC2
secondary
#BCCD7C
accent
#E741C5
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A2BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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