#4521A2#4521A2

#4521A2 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.189 H 286.5°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#4521A2
RGBrgb(69, 33, 162)
HSLhsl(257, 66%, 38%)
HSVhsv(257, 80%, 64%)
CMYKcmyk(57.4%, 79.6%, 0%, 36.5%)
CIE-LABlab(26.62, 48.46, -63.03)
CIE-LCHlch(26.62, 79.51, 307.56°)
OKLaboklab(38.94% 0.0538 -0.1815)
OKLCHoklch(38.94% 0.189 286.5)
XYZxyz(9.5177, 4.9610, 34.6315)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4521A2 #7EA221
analogous
#213DA2 #4521A2 #8521A2
triadic
#4521A2 #A24521 #21A245
tetradic
#4521A2 #A2213D #7EA221 #21A285
square
#4521A2 #A2213D #7EA221 #21A285
split-complementary
#4521A2 #A28521 #3DA221
monochromatic
#1A0C3C #2F176F #4521A2 #5B2CD4 #835FDE

Accessibility & contrast

On white

10.54
#4521A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#4521A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4521A2
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4521A2#FFFFFF#000000##FFFFFF
##4521A21.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A6
Deuteranopia (green-blind)
#003BA0
Tritanopia (blue-blind)
#184761
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4521a2;
/* rgb */ color: rgb(69, 33, 162);
/* oklch */ color: oklch(38.9% 0.189 286.5);
Tailwind
colors: {
  custom: {
    50: '#8462bf',
    500: '#4521a2',
    950: '#000000',
  },
}
SCSS
$custom: #4521a2;
$custom-light: #8462bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4521a2",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 162
  },
  "hsl": {
    "h": 256.744,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38938,
    "c": 0.1893,
    "h": 286.5
  },
  "luminance": 0.04962
}

Semantic roles & 50–950 ramp

primary
#4521A2
secondary
#A6C35C
accent
#E93FBA
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4521A2

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

Preview Lab → · Contrast checker → · Palette generator →

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