#4528BC#4528BC

#4528BC is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.4% C 0.213 H 281.3°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#4528BC
RGBrgb(69, 40, 188)
HSLhsl(252, 65%, 45%)
HSVhsv(252, 79%, 74%)
CMYKcmyk(63.3%, 78.7%, 0%, 26.3%)
CIE-LABlab(30.43, 52.69, -72.33)
CIE-LCHlch(30.43, 89.48, 306.07°)
OKLaboklab(42.39% 0.0417 -0.2087)
OKLCHoklch(42.39% 0.213 281.3)
XYZxyz(12.2873, 6.4127, 48.1575)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4528BC #9FBC28
analogous
#2855BC #4528BC #8F28BC
triadic
#4528BC #BC4528 #28BC45
tetradic
#4528BC #BC2855 #9FBC28 #28BC8F
square
#4528BC #BC2855 #9FBC28 #28BC8F
split-complementary
#4528BC #BC8F28 #55BC28
monochromatic
#201357 #321D8A #4528BC #6549D8 #907BE3

Accessibility & contrast

On white

9.20
#4528BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#4528BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4528BC
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4528BC#FFFFFF#000000##FFFFFF
##4528BC1.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC0
Deuteranopia (green-blind)
#0042B9
Tritanopia (blue-blind)
#005472
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4528bc;
/* rgb */ color: rgb(69, 40, 188);
/* oklch */ color: oklch(42.4% 0.213 281.3);
Tailwind
colors: {
  custom: {
    50: '#8867d2',
    500: '#4528bc',
    950: '#000000',
  },
}
SCSS
$custom: #4528bc;
$custom-light: #8867d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4528bc",
  "rgb": {
    "r": 69,
    "g": 40,
    "b": 188
  },
  "hsl": {
    "h": 251.757,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42386,
    "c": 0.21283,
    "h": 281.3
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#4528BC
secondary
#BACB75
accent
#E840C7
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #4528BC

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

Preview Lab → · Contrast checker → · Palette generator →

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