#4528A2#4528A2

#4528A2 is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.182 H 285.5°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#4528A2
RGBrgb(69, 40, 162)
HSLhsl(254, 60%, 40%)
HSVhsv(254, 75%, 64%)
CMYKcmyk(57.4%, 75.3%, 0%, 36.5%)
CIE-LABlab(27.82, 45.04, -61.06)
CIE-LCHlch(27.82, 75.88, 306.41°)
OKLaboklab(39.78% 0.0488 -0.1758)
OKLCHoklch(39.78% 0.182 285.5)
XYZxyz(9.7326, 5.3909, 34.7031)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4528A2 #85A228
analogous
#2848A2 #4528A2 #8228A2
triadic
#4528A2 #A24528 #28A245
tetradic
#4528A2 #A22848 #85A228 #28A282
square
#4528A2 #A22848 #85A228 #28A282
split-complementary
#4528A2 #A28228 #48A228
monochromatic
#1B1040 #301C71 #4528A2 #5D39CE #856ADA

Accessibility & contrast

On white

10.10
#4528A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#4528A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4528A2
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4528A2#FFFFFF#000000##FFFFFF
##4528A21.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A6
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#174A63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4528a2;
/* rgb */ color: rgb(69, 40, 162);
/* oklch */ color: oklch(39.8% 0.182 285.5);
Tailwind
colors: {
  custom: {
    50: '#8365bf',
    500: '#4528a2',
    950: '#000000',
  },
}
SCSS
$custom: #4528a2;
$custom-light: #8365bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4528a2",
  "rgb": {
    "r": 69,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 254.262,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39775,
    "c": 0.18245,
    "h": 285.5
  },
  "luminance": 0.05391
}

Semantic roles & 50–950 ramp

primary
#4528A2
secondary
#ABC165
accent
#E444BE
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #4528A2

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

Preview Lab → · Contrast checker → · Palette generator →

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