#4521B2#4521B2

#4521B2 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.6% C 0.207 H 283.6°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#4521B2
RGBrgb(69, 33, 178)
HSLhsl(255, 69%, 41%)
HSVhsv(255, 81%, 70%)
CMYKcmyk(61.2%, 81.5%, 0%, 30.2%)
CIE-LABlab(28.29, 52.98, -69.92)
CIE-LCHlch(28.29, 87.73, 307.15°)
OKLaboklab(40.59% 0.0486 -0.2016)
OKLCHoklch(40.59% 0.207 283.6)
XYZxyz(11.0315, 5.5665, 42.6040)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4521B2 #8EB221
analogous
#2145B2 #4521B2 #8E21B2
triadic
#4521B2 #B24521 #21B245
tetradic
#4521B2 #B22145 #8EB221 #21B28E
square
#4521B2 #B22145 #8EB221 #21B28E
split-complementary
#4521B2 #B28E21 #45B221
monochromatic
#1D0E4B #31177E #4521B2 #5F36DA #886AE3

Accessibility & contrast

On white

9.94
#4521B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#4521B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4521B2
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4521B2#FFFFFF#000000##FFFFFF
##4521B21.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B6
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4521b2;
/* rgb */ color: rgb(69, 33, 178);
/* oklch */ color: oklch(40.6% 0.207 283.6);
Tailwind
colors: {
  custom: {
    50: '#8763ca',
    500: '#4521b2',
    950: '#000000',
  },
}
SCSS
$custom: #4521b2;
$custom-light: #8763ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4521b2",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 178
  },
  "hsl": {
    "h": 254.897,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4059,
    "c": 0.20737,
    "h": 283.6
  },
  "luminance": 0.05567
}

Semantic roles & 50–950 ramp

primary
#4521B2
secondary
#B0C966
accent
#EC3CC0
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #4521B2

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

Preview Lab → · Contrast checker → · Palette generator →

#4521B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva