#4524A5#4524A5

#4524A5 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.190 H 285.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#4524A5
RGBrgb(69, 36, 165)
HSLhsl(255, 64%, 39%)
HSVhsv(255, 78%, 65%)
CMYKcmyk(58.2%, 78.2%, 0%, 35.3%)
CIE-LABlab(27.42, 47.91, -63.55)
CIE-LCHlch(27.42, 79.58, 307.02°)
OKLaboklab(39.58% 0.0508 -0.183)
OKLCHoklch(39.58% 0.19 285.5)
XYZxyz(9.8746, 5.2430, 36.0817)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4524A5 #84A524
analogous
#2444A5 #4524A5 #8624A5
triadic
#4524A5 #A54524 #24A545
tetradic
#4524A5 #A52444 #84A524 #24A586
square
#4524A5 #A52444 #84A524 #24A586
split-complementary
#4524A5 #A58624 #44A524
monochromatic
#1B0E41 #301973 #4524A5 #5C34D3 #8466DE

Accessibility & contrast

On white

10.25
#4524A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4524A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4524A5
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4524A5#FFFFFF#000000##FFFFFF
##4524A51.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A9
Deuteranopia (green-blind)
#003DA3
Tritanopia (blue-blind)
#124964
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4524a5;
/* rgb */ color: rgb(69, 36, 165);
/* oklch */ color: oklch(39.6% 0.190 285.5);
Tailwind
colors: {
  custom: {
    50: '#8463c1',
    500: '#4524a5',
    950: '#000000',
  },
}
SCSS
$custom: #4524a5;
$custom-light: #8463c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4524a5",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 255.349,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39581,
    "c": 0.18997,
    "h": 285.5
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#4524A5
secondary
#AAC362
accent
#E741BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4524A5

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

Preview Lab → · Contrast checker → · Palette generator →

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