#4524A2#4524A2

#4524A2 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.186 H 286.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#4524A2
RGBrgb(69, 36, 162)
HSLhsl(256, 64%, 39%)
HSVhsv(256, 78%, 64%)
CMYKcmyk(57.4%, 77.8%, 0%, 36.5%)
CIE-LABlab(27.12, 47.05, -62.22)
CIE-LCHlch(27.12, 78.01, 307.09°)
OKLaboklab(39.28% 0.0517 -0.1792)
OKLCHoklch(39.28% 0.186 286.1)
XYZxyz(9.6047, 5.1350, 34.6605)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4524A2 #81A224
analogous
#2442A2 #4524A2 #8424A2
triadic
#4524A2 #A24524 #24A245
tetradic
#4524A2 #A22442 #81A224 #24A284
square
#4524A2 #A22442 #81A224 #24A284
split-complementary
#4524A2 #A28424 #42A224
monochromatic
#1A0E3E #301970 #4524A2 #5C32D1 #8364DD

Accessibility & contrast

On white

10.36
#4524A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4524A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4524A2
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4524A2#FFFFFF#000000##FFFFFF
##4524A21.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#003CA0
Tritanopia (blue-blind)
#174862
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4524a2;
/* rgb */ color: rgb(69, 36, 162);
/* oklch */ color: oklch(39.3% 0.186 286.1);
Tailwind
colors: {
  custom: {
    50: '#8463bf',
    500: '#4524a2',
    950: '#000000',
  },
}
SCSS
$custom: #4524a2;
$custom-light: #8463bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4524a2",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 162
  },
  "hsl": {
    "h": 255.714,
    "s": 63.636,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39281,
    "c": 0.18648,
    "h": 286.1
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#4524A2
secondary
#A8C260
accent
#E741BB
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4524A2

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

Preview Lab → · Contrast checker → · Palette generator →

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