#4521C2#4521C2

#4521C2 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.3% C 0.225 H 281.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#4521C2
RGBrgb(69, 33, 194)
HSLhsl(253, 71%, 45%)
HSVhsv(253, 83%, 76%)
CMYKcmyk(64.4%, 83%, 0%, 23.9%)
CIE-LABlab(30.03, 57.44, -76.53)
CIE-LCHlch(30.03, 95.69, 306.89°)
OKLaboklab(42.3% 0.0433 -0.2209)
OKLCHoklch(42.3% 0.225 281.1)
XYZxyz(12.7326, 6.2470, 51.5633)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4521C2 #9EC221
analogous
#214EC2 #4521C2 #9621C2
triadic
#4521C2 #C24521 #21C245
tetradic
#4521C2 #C2214E #9EC221 #21C296
square
#4521C2 #C2214E #9EC221 #21C296
split-complementary
#4521C2 #C29621 #4EC221
monochromatic
#200F59 #32188E #4521C2 #6541DF #8F76E8

Accessibility & contrast

On white

9.33
#4521C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4521C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4521C2
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4521C2#FFFFFF#000000##FFFFFF
##4521C21.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC6
Deuteranopia (green-blind)
#0041BF
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4521c2;
/* rgb */ color: rgb(69, 33, 194);
/* oklch */ color: oklch(42.3% 0.225 281.1);
Tailwind
colors: {
  custom: {
    50: '#8a64d6',
    500: '#4521c2',
    950: '#000000',
  },
}
SCSS
$custom: #4521c2;
$custom-light: #8a64d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4521c2",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 194
  },
  "hsl": {
    "h": 253.416,
    "s": 70.925,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42296,
    "c": 0.22506,
    "h": 281.1
  },
  "luminance": 0.06248
}

Semantic roles & 50–950 ramp

primary
#4521C2
secondary
#BACF70
accent
#EE3AC6
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #4521C2

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

Preview Lab → · Contrast checker → · Palette generator →

#4521C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva