#4522A8#4522A8

#4522A8 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.7% C 0.195 H 285.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#4522A8
RGBrgb(69, 34, 168)
HSLhsl(256, 66%, 40%)
HSVhsv(256, 80%, 66%)
CMYKcmyk(58.9%, 79.8%, 0%, 34.1%)
CIE-LABlab(27.40, 49.71, -65.39)
CIE-LCHlch(27.40, 82.14, 307.24°)
OKLaboklab(39.66% 0.0512 -0.1884)
OKLCHoklch(39.66% 0.195 285.2)
XYZxyz(10.0920, 5.2358, 37.5170)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4522A8 #85A822
analogous
#2242A8 #4522A8 #8822A8
triadic
#4522A8 #A84522 #22A845
tetradic
#4522A8 #A82242 #85A822 #22A888
square
#4522A8 #A82242 #85A822 #22A888
split-complementary
#4522A8 #A88822 #42A822
monochromatic
#1B0D42 #301875 #4522A8 #5D32D5 #8565E0

Accessibility & contrast

On white

10.26
#4522A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#4522A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4522A8
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4522A8#FFFFFF#000000##FFFFFF
##4522A81.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#003DA6
Tritanopia (blue-blind)
#0B4A65
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4522a8;
/* rgb */ color: rgb(69, 34, 168);
/* oklch */ color: oklch(39.7% 0.195 285.2);
Tailwind
colors: {
  custom: {
    50: '#8562c3',
    500: '#4522a8',
    950: '#000000',
  },
}
SCSS
$custom: #4522a8;
$custom-light: #8562c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4522a8",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 168
  },
  "hsl": {
    "h": 255.672,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39659,
    "c": 0.19525,
    "h": 285.2
  },
  "luminance": 0.05236
}

Semantic roles & 50–950 ramp

primary
#4522A8
secondary
#ABC561
accent
#E93FBD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4522A8

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

Preview Lab → · Contrast checker → · Palette generator →

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