#4520A8#4520A8

#4520A8 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.4% C 0.197 H 285.4°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#4520A8
RGBrgb(69, 32, 168)
HSLhsl(256, 68%, 39%)
HSVhsv(256, 81%, 66%)
CMYKcmyk(58.9%, 81%, 0%, 34.1%)
CIE-LABlab(27.09, 50.61, -65.90)
CIE-LCHlch(27.09, 83.09, 307.52°)
OKLaboklab(39.44% 0.0525 -0.1899)
OKLCHoklch(39.44% 0.197 285.4)
XYZxyz(10.0365, 5.1248, 37.4985)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4520A8 #83A820
analogous
#203FA8 #4520A8 #8920A8
triadic
#4520A8 #A84520 #20A845
tetradic
#4520A8 #A8203F #83A820 #20A889
square
#4520A8 #A8203F #83A820 #20A889
split-complementary
#4520A8 #A88920 #3FA820
monochromatic
#1B0C41 #301675 #4520A8 #5C2ED7 #8461E1

Accessibility & contrast

On white

10.37
#4520A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4520A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4520A8
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4520A8#FFFFFF#000000##FFFFFF
##4520A81.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#003CA6
Tritanopia (blue-blind)
#0C4965
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4520a8;
/* rgb */ color: rgb(69, 32, 168);
/* oklch */ color: oklch(39.4% 0.197 285.4);
Tailwind
colors: {
  custom: {
    50: '#8561c3',
    500: '#4520a8',
    950: '#000000',
  },
}
SCSS
$custom: #4520a8;
$custom-light: #8561c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4520a8",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 256.324,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39444,
    "c": 0.19698,
    "h": 285.4
  },
  "luminance": 0.05125
}

Semantic roles & 50–950 ramp

primary
#4520A8
secondary
#AAC65E
accent
#EB3DBC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4520A8

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

Preview Lab → · Contrast checker → · Palette generator →

#4520A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva