#4522A6#4522A6

#4522A6 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.193 H 285.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#4522A6
RGBrgb(69, 34, 166)
HSLhsl(256, 66%, 39%)
HSVhsv(256, 80%, 65%)
CMYKcmyk(58.4%, 79.5%, 0%, 34.9%)
CIE-LABlab(27.19, 49.14, -64.52)
CIE-LCHlch(27.19, 81.10, 307.29°)
OKLaboklab(39.46% 0.0519 -0.1859)
OKLCHoklch(39.46% 0.193 285.6)
XYZxyz(9.9071, 5.1618, 36.5433)
Luminance0.0516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4522A6 #83A622
analogous
#2241A6 #4522A6 #8722A6
triadic
#4522A6 #A64522 #22A645
tetradic
#4522A6 #A62241 #83A622 #22A687
square
#4522A6 #A62241 #83A622 #22A687
split-complementary
#4522A6 #A68722 #41A622
monochromatic
#1B0D40 #301873 #4522A6 #5C30D5 #8463DF

Accessibility & contrast

On white

10.33
#4522A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4522A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4522A6
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4522A6#FFFFFF#000000##FFFFFF
##4522A61.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AA
Deuteranopia (green-blind)
#003CA4
Tritanopia (blue-blind)
#104964
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4522a6;
/* rgb */ color: rgb(69, 34, 166);
/* oklch */ color: oklch(39.5% 0.193 285.6);
Tailwind
colors: {
  custom: {
    50: '#8562c2',
    500: '#4522a6',
    950: '#000000',
  },
}
SCSS
$custom: #4522a6;
$custom-light: #8562c2;
$custom-dark: #000000;
JSON
{
  "hex": "#4522a6",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 255.909,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39455,
    "c": 0.19297,
    "h": 285.6
  },
  "luminance": 0.05162
}

Semantic roles & 50–950 ramp

primary
#4522A6
secondary
#AAC45F
accent
#E93FBC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4522A6

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

Preview Lab → · Contrast checker → · Palette generator →

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