#4522A7#4522A7

#4522A7 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.6% C 0.194 H 285.4°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#4522A7
RGBrgb(69, 34, 167)
HSLhsl(256, 66%, 39%)
HSVhsv(256, 80%, 65%)
CMYKcmyk(58.7%, 79.6%, 0%, 34.5%)
CIE-LABlab(27.29, 49.43, -64.96)
CIE-LCHlch(27.29, 81.62, 307.27°)
OKLaboklab(39.56% 0.0515 -0.1871)
OKLCHoklch(39.56% 0.194 285.4)
XYZxyz(9.9992, 5.1987, 37.0283)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4522A7 #84A722
analogous
#2242A7 #4522A7 #8722A7
triadic
#4522A7 #A74522 #22A745
tetradic
#4522A7 #A72242 #84A722 #22A787
square
#4522A7 #A72242 #84A722 #22A787
split-complementary
#4522A7 #A78722 #42A722
monochromatic
#1B0D41 #301874 #4522A7 #5C31D5 #8464DF

Accessibility & contrast

On white

10.30
#4522A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#4522A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4522A7
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4522A7#FFFFFF#000000##FFFFFF
##4522A71.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#003CA5
Tritanopia (blue-blind)
#0E4964
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4522a7;
/* rgb */ color: rgb(69, 34, 167);
/* oklch */ color: oklch(39.6% 0.194 285.4);
Tailwind
colors: {
  custom: {
    50: '#8562c2',
    500: '#4522a7',
    950: '#000000',
  },
}
SCSS
$custom: #4522a7;
$custom-light: #8562c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4522a7",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 255.789,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39557,
    "c": 0.19411,
    "h": 285.4
  },
  "luminance": 0.05199
}

Semantic roles & 50–950 ramp

primary
#4522A7
secondary
#AAC560
accent
#E93FBC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4522A7

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

Preview Lab → · Contrast checker → · Palette generator →

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