#4520C3#4520C3

#4520C3 is a dark, highly saturated violet. Relative luminance 0.062; OKLCH L 42.3% C 0.227 H 281.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#4520C3
RGBrgb(69, 32, 195)
HSLhsl(254, 72%, 45%)
HSVhsv(254, 84%, 76%)
CMYKcmyk(64.6%, 83.6%, 0%, 23.5%)
CIE-LABlab(30.00, 58.12, -77.16)
CIE-LCHlch(30.00, 96.60, 306.99°)
OKLaboklab(42.31% 0.0434 -0.2227)
OKLCHoklch(42.31% 0.227 281)
XYZxyz(12.8180, 6.2374, 52.1476)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4520C3 #9EC320
analogous
#204CC3 #4520C3 #9720C3
triadic
#4520C3 #C34520 #20C345
tetradic
#4520C3 #C3204C #9EC320 #20C397
square
#4520C3 #C3204C #9EC320 #20C397
split-complementary
#4520C3 #C39720 #4CC320
monochromatic
#200F5A #32178E #4520C3 #6540E0 #8F75E8

Accessibility & contrast

On white

9.34
#4520C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#4520C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4520C3
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4520C3#FFFFFF#000000##FFFFFF
##4520C31.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC7
Deuteranopia (green-blind)
#0041C0
Tritanopia (blue-blind)
#005474
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #4520c3;
/* rgb */ color: rgb(69, 32, 195);
/* oklch */ color: oklch(42.3% 0.227 281.0);
Tailwind
colors: {
  custom: {
    50: '#8a63d7',
    500: '#4520c3',
    950: '#000000',
  },
}
SCSS
$custom: #4520c3;
$custom-light: #8a63d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4520c3",
  "rgb": {
    "r": 69,
    "g": 32,
    "b": 195
  },
  "hsl": {
    "h": 253.62,
    "s": 71.806,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42313,
    "c": 0.22685,
    "h": 281
  },
  "luminance": 0.06238
}

Semantic roles & 50–950 ramp

primary
#4520C3
secondary
#BACF6F
accent
#EF39C5
background
#F9F6FD
surface
#F2EBFA
border
#CCC6D3
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #4520C3

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

Preview Lab → · Contrast checker → · Palette generator →

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