#4520B4#4520B4

#4520B4 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.7% C 0.210 H 283.3°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#4520B4
RGBrgb(69, 32, 180)
HSLhsl(255, 70%, 42%)
HSVhsv(255, 82%, 71%)
CMYKcmyk(61.7%, 82.2%, 0%, 29.4%)
CIE-LABlab(28.36, 53.97, -71.00)
CIE-LCHlch(28.36, 89.18, 307.24°)
OKLaboklab(40.7% 0.0485 -0.2047)
OKLCHoklch(40.7% 0.21 283.3)
XYZxyz(11.2064, 5.5927, 43.6601)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4520B4 #8FB420
analogous
#2045B4 #4520B4 #8F20B4
triadic
#4520B4 #B44520 #20B445
tetradic
#4520B4 #B42045 #8FB420 #20B48F
square
#4520B4 #B42045 #8FB420 #20B48F
split-complementary
#4520B4 #B48F20 #45B420
monochromatic
#1D0E4C #311780 #4520B4 #5F36DB #896AE4

Accessibility & contrast

On white

9.91
#4520B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4520B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4520B4
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4520B4#FFFFFF#000000##FFFFFF
##4520B41.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#004E6C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4520b4;
/* rgb */ color: rgb(69, 32, 180);
/* oklch */ color: oklch(40.7% 0.210 283.3);
Tailwind
colors: {
  custom: {
    50: '#8762cc',
    500: '#4520b4',
    950: '#000000',
  },
}
SCSS
$custom: #4520b4;
$custom-light: #8762cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4520b4",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 180
  },
  "hsl": {
    "h": 255,
    "s": 69.811,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40702,
    "c": 0.21038,
    "h": 283.3
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#4520B4
secondary
#B1CA66
accent
#ED3BC0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0514
muted
#7E7A82

Preview Lab

Preview with #4520B4

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

Preview Lab → · Contrast checker → · Palette generator →

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