#4524A6#4524A6

#4524A6 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.191 H 285.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#4524A6
RGBrgb(69, 36, 166)
HSLhsl(255, 64%, 40%)
HSVhsv(255, 78%, 65%)
CMYKcmyk(58.4%, 78.3%, 0%, 34.9%)
CIE-LABlab(27.52, 48.20, -63.98)
CIE-LCHlch(27.52, 80.11, 306.99°)
OKLaboklab(39.68% 0.0505 -0.1843)
OKLCHoklch(39.68% 0.191 285.3)
XYZxyz(9.9660, 5.2795, 36.5629)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4524A6 #85A624
analogous
#2444A6 #4524A6 #8624A6
triadic
#4524A6 #A64524 #24A645
tetradic
#4524A6 #A62444 #85A624 #24A686
square
#4524A6 #A62444 #85A624 #24A686
split-complementary
#4524A6 #A68624 #44A624
monochromatic
#1B0E41 #301974 #4524A6 #5D34D3 #8566DE

Accessibility & contrast

On white

10.21
#4524A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4524A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4524A6
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4524A6#FFFFFF#000000##FFFFFF
##4524A61.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#003DA4
Tritanopia (blue-blind)
#104A64
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4524a6;
/* rgb */ color: rgb(69, 36, 166);
/* oklch */ color: oklch(39.7% 0.191 285.3);
Tailwind
colors: {
  custom: {
    50: '#8463c2',
    500: '#4524a6',
    950: '#000000',
  },
}
SCSS
$custom: #4524a6;
$custom-light: #8463c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4524a6",
  "rgb": {
    "r": 69,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 255.231,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39682,
    "c": 0.19112,
    "h": 285.3
  },
  "luminance": 0.0528
}

Semantic roles & 50–950 ramp

primary
#4524A6
secondary
#ABC462
accent
#E740BD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4524A6

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

Preview Lab → · Contrast checker → · Palette generator →

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