#4528AB#4528AB

#4528AB is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.7% C 0.193 H 283.9°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#4528AB
RGBrgb(69, 40, 171)
HSLhsl(253, 62%, 41%)
HSVhsv(253, 77%, 67%)
CMYKcmyk(59.6%, 76.6%, 0%, 32.9%)
CIE-LABlab(28.70, 47.70, -65.05)
CIE-LCHlch(28.70, 80.67, 306.25°)
OKLaboklab(40.66% 0.0464 -0.1875)
OKLCHoklch(40.66% 0.193 283.9)
XYZxyz(10.5615, 5.7224, 39.0682)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4528AB #8EAB28
analogous
#284DAB #4528AB #8728AB
triadic
#4528AB #AB4528 #28AB45
tetradic
#4528AB #AB284D #8EAB28 #28AB87
square
#4528AB #AB284D #8EAB28 #28AB87
split-complementary
#4528AB #AB8728 #4DAB28
monochromatic
#1D1148 #311C79 #4528AB #5F3ED2 #8870DE

Accessibility & contrast

On white

9.79
#4528AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4528AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4528AB
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4528AB#FFFFFF#000000##FFFFFF
##4528AB1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003FA9
Tritanopia (blue-blind)
#014D68
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4528ab;
/* rgb */ color: rgb(69, 40, 171);
/* oklch */ color: oklch(40.7% 0.193 283.9);
Tailwind
colors: {
  custom: {
    50: '#8566c5',
    500: '#4528ab',
    950: '#000000',
  },
}
SCSS
$custom: #4528ab;
$custom-light: #8566c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4528ab",
  "rgb": {
    "r": 69,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 253.282,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4066,
    "c": 0.19312,
    "h": 283.9
  },
  "luminance": 0.05723
}

Semantic roles & 50–950 ramp

primary
#4528AB
secondary
#B0C46A
accent
#E543C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #4528AB

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

Preview Lab → · Contrast checker → · Palette generator →

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