#4521AF#4521AF

#4521AF is a dark, highly saturated violet. Relative luminance 0.054; OKLCH L 40.3% C 0.204 H 284.1°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#4521AF
RGBrgb(69, 33, 175)
HSLhsl(255, 68%, 41%)
HSVhsv(255, 81%, 69%)
CMYKcmyk(60.6%, 81.1%, 0%, 31.4%)
CIE-LABlab(27.97, 52.14, -68.65)
CIE-LCHlch(27.97, 86.20, 307.22°)
OKLaboklab(40.28% 0.0496 -0.1979)
OKLCHoklch(40.28% 0.204 284.1)
XYZxyz(10.7336, 5.4474, 41.0350)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4521AF #8BAF21
analogous
#2144AF #4521AF #8C21AF
triadic
#4521AF #AF4521 #21AF45
tetradic
#4521AF #AF2144 #8BAF21 #21AF8C
square
#4521AF #AF2144 #8BAF21 #21AF8C
split-complementary
#4521AF #AF8C21 #44AF21
monochromatic
#1C0E48 #31177C #4521AF #5E34D9 #8768E3

Accessibility & contrast

On white

10.05
#4521AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#4521AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4521AF
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4521AF#FFFFFF#000000##FFFFFF
##4521AF1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#003DAD
Tritanopia (blue-blind)
#004C69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #4521af;
/* rgb */ color: rgb(69, 33, 175);
/* oklch */ color: oklch(40.3% 0.204 284.1);
Tailwind
colors: {
  custom: {
    50: '#8662c8',
    500: '#4521af',
    950: '#000000',
  },
}
SCSS
$custom: #4521af;
$custom-light: #8662c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4521af",
  "rgb": {
    "r": 69,
    "g": 33,
    "b": 175
  },
  "hsl": {
    "h": 255.211,
    "s": 68.269,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40276,
    "c": 0.20402,
    "h": 284.1
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#4521AF
secondary
#AFC864
accent
#EB3DBF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0513
muted
#7D7A82

Preview Lab

Preview with #4521AF

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

Preview Lab → · Contrast checker → · Palette generator →

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