#4528AC#4528AC

#4528AC is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.8% C 0.194 H 283.7°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#4528AC
RGBrgb(69, 40, 172)
HSLhsl(253, 62%, 42%)
HSVhsv(253, 77%, 67%)
CMYKcmyk(59.9%, 76.7%, 0%, 32.5%)
CIE-LABlab(28.80, 48.00, -65.48)
CIE-LCHlch(28.80, 81.19, 306.24°)
OKLaboklab(40.76% 0.0461 -0.1887)
OKLCHoklch(40.76% 0.194 283.7)
XYZxyz(10.6571, 5.7607, 39.5721)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4528AC #8FAC28
analogous
#284DAC #4528AC #8728AC
triadic
#4528AC #AC4528 #28AC45
tetradic
#4528AC #AC284D #8FAC28 #28AC87
square
#4528AC #AC284D #8FAC28 #28AC87
split-complementary
#4528AC #AC8728 #4DAC28
monochromatic
#1D1149 #311C7A #4528AC #5F3FD2 #8971DE

Accessibility & contrast

On white

9.76
#4528AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#4528AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4528AC
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4528AC#FFFFFF#000000##FFFFFF
##4528AC1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B0
Deuteranopia (green-blind)
#0040AA
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4528ac;
/* rgb */ color: rgb(69, 40, 172);
/* oklch */ color: oklch(40.8% 0.194 283.7);
Tailwind
colors: {
  custom: {
    50: '#8566c6',
    500: '#4528ac',
    950: '#000000',
  },
}
SCSS
$custom: #4528ac;
$custom-light: #8566c6;
$custom-dark: #000000;
JSON
{
  "hex": "#4528ac",
  "rgb": {
    "r": 69,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 253.182,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4076,
    "c": 0.1943,
    "h": 283.7
  },
  "luminance": 0.05761
}

Semantic roles & 50–950 ramp

primary
#4528AC
secondary
#B1C56B
accent
#E542C2
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4528AC

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

Preview Lab → · Contrast checker → · Palette generator →

#4528AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva