#4528A1#4528A1

#4528A1 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.7% C 0.181 H 285.7°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#4528A1
RGBrgb(69, 40, 161)
HSLhsl(254, 60%, 39%)
HSVhsv(254, 75%, 63%)
CMYKcmyk(57.1%, 75.2%, 0%, 36.9%)
CIE-LABlab(27.72, 44.74, -60.61)
CIE-LCHlch(27.72, 75.34, 306.43°)
OKLaboklab(39.68% 0.049 -0.1745)
OKLCHoklch(39.68% 0.181 285.7)
XYZxyz(9.6441, 5.3554, 34.2368)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4528A1 #84A128
analogous
#2848A1 #4528A1 #8228A1
triadic
#4528A1 #A14528 #28A145
tetradic
#4528A1 #A12848 #84A128 #28A182
square
#4528A1 #A12848 #84A128 #28A182
split-complementary
#4528A1 #A18228 #48A128
monochromatic
#1B103F #301C70 #4528A1 #5C39CE #846ADA

Accessibility & contrast

On white

10.14
#4528A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#4528A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4528A1
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4528A1#FFFFFF#000000##FFFFFF
##4528A11.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003E9F
Tritanopia (blue-blind)
#184A62
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4528a1;
/* rgb */ color: rgb(69, 40, 161);
/* oklch */ color: oklch(39.7% 0.181 285.7);
Tailwind
colors: {
  custom: {
    50: '#8365be',
    500: '#4528a1',
    950: '#000000',
  },
}
SCSS
$custom: #4528a1;
$custom-light: #8365be;
$custom-dark: #000000;
JSON
{
  "hex": "#4528a1",
  "rgb": {
    "r": 69,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 254.38,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39678,
    "c": 0.18125,
    "h": 285.7
  },
  "luminance": 0.05356
}

Semantic roles & 50–950 ramp

primary
#4528A1
secondary
#AAC065
accent
#E344BD
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4528A1

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

Preview Lab → · Contrast checker → · Palette generator →

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