#4520A7#4520A7

#4520A7 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.196 H 285.6°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#4520A7
RGBrgb(69, 32, 167)
HSLhsl(256, 68%, 39%)
HSVhsv(256, 81%, 65%)
CMYKcmyk(58.7%, 80.8%, 0%, 34.5%)
CIE-LABlab(26.98, 50.33, -65.47)
CIE-LCHlch(26.98, 82.58, 307.55°)
OKLaboklab(39.34% 0.0528 -0.1886)
OKLCHoklch(39.34% 0.196 285.6)
XYZxyz(9.9437, 5.0877, 37.0098)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4520A7 #82A720
analogous
#203FA7 #4520A7 #8920A7
triadic
#4520A7 #A74520 #20A745
tetradic
#4520A7 #A7203F #82A720 #20A789
square
#4520A7 #A7203F #82A720 #20A789
split-complementary
#4520A7 #A78920 #3FA720
monochromatic
#1B0C40 #301674 #4520A7 #5C2DD7 #8461E1

Accessibility & contrast

On white

10.41
#4520A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4520A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4520A7
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4520A7#FFFFFF#000000##FFFFFF
##4520A71.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#0E4964
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4520a7;
/* rgb */ color: rgb(69, 32, 167);
/* oklch */ color: oklch(39.3% 0.196 285.6);
Tailwind
colors: {
  custom: {
    50: '#8561c2',
    500: '#4520a7',
    950: '#000000',
  },
}
SCSS
$custom: #4520a7;
$custom-light: #8561c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4520a7",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 167
  },
  "hsl": {
    "h": 256.444,
    "s": 67.839,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39341,
    "c": 0.19586,
    "h": 285.6
  },
  "luminance": 0.05088
}

Semantic roles & 50–950 ramp

primary
#4520A7
secondary
#A9C55D
accent
#EB3DBB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4520A7

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

Preview Lab → · Contrast checker → · Palette generator →

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