#4522A1#4522A1

#4522A1 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.9% C 0.187 H 286.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#4522A1
RGBrgb(69, 34, 161)
HSLhsl(257, 65%, 38%)
HSVhsv(257, 79%, 63%)
CMYKcmyk(57.1%, 78.9%, 0%, 36.9%)
CIE-LABlab(26.68, 47.71, -62.33)
CIE-LCHlch(26.68, 78.49, 307.44°)
OKLaboklab(38.95% 0.0534 -0.1795)
OKLCHoklch(38.95% 0.187 286.6)
XYZxyz(9.4574, 4.9819, 34.1746)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4522A1 #7EA122
analogous
#223FA1 #4522A1 #8422A1
triadic
#4522A1 #A14522 #22A145
tetradic
#4522A1 #A1223F #7EA122 #22A184
square
#4522A1 #A1223F #7EA122 #22A184
split-complementary
#4522A1 #A18422 #3FA122
monochromatic
#1A0D3C #2F176E #4522A1 #5B2DD3 #8360DD

Accessibility & contrast

On white

10.52
#4522A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4522A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4522A1
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4522A1#FFFFFF#000000##FFFFFF
##4522A11.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A5
Deuteranopia (green-blind)
#003B9F
Tritanopia (blue-blind)
#194761
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4522a1;
/* rgb */ color: rgb(69, 34, 161);
/* oklch */ color: oklch(38.9% 0.187 286.6);
Tailwind
colors: {
  custom: {
    50: '#8462be',
    500: '#4522a1',
    950: '#000000',
  },
}
SCSS
$custom: #4522a1;
$custom-light: #8462be;
$custom-dark: #000000;
JSON
{
  "hex": "#4522a1",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 161
  },
  "hsl": {
    "h": 256.535,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38949,
    "c": 0.18723,
    "h": 286.6
  },
  "luminance": 0.04982
}

Semantic roles & 50–950 ramp

primary
#4522A1
secondary
#A6C25D
accent
#E840BA
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4522A1

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

Preview Lab → · Contrast checker → · Palette generator →

#4522A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva