#4520A5#4520A5

#4520A5 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.194 H 286.0°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#4520A5
RGBrgb(69, 32, 165)
HSLhsl(257, 68%, 39%)
HSVhsv(257, 81%, 65%)
CMYKcmyk(58.2%, 80.6%, 0%, 35.3%)
CIE-LABlab(26.78, 49.76, -64.60)
CIE-LCHlch(26.78, 81.55, 307.61°)
OKLaboklab(39.14% 0.0534 -0.1861)
OKLCHoklch(39.14% 0.194 286)
XYZxyz(9.7602, 5.0143, 36.0436)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4520A5 #80A520
analogous
#203DA5 #4520A5 #8720A5
triadic
#4520A5 #A54520 #20A545
tetradic
#4520A5 #A5203D #80A520 #20A587
square
#4520A5 #A5203D #80A520 #20A587
split-complementary
#4520A5 #A58720 #3DA520
monochromatic
#1A0C3E #301672 #4520A5 #5B2CD6 #835FE0

Accessibility & contrast

On white

10.48
#4520A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4520A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4520A5
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4520A5#FFFFFF#000000##FFFFFF
##4520A51.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#003BA3
Tritanopia (blue-blind)
#134863
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4520a5;
/* rgb */ color: rgb(69, 32, 165);
/* oklch */ color: oklch(39.1% 0.194 286.0);
Tailwind
colors: {
  custom: {
    50: '#8561c1',
    500: '#4520a5',
    950: '#000000',
  },
}
SCSS
$custom: #4520a5;
$custom-light: #8561c1;
$custom-dark: #000000;
JSON
{
  "hex": "#4520a5",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 165
  },
  "hsl": {
    "h": 256.692,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.39135,
    "c": 0.1936,
    "h": 286
  },
  "luminance": 0.05015
}

Semantic roles & 50–950 ramp

primary
#4520A5
secondary
#A8C55C
accent
#EA3DBA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4520A5

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

Preview Lab → · Contrast checker → · Palette generator →

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