#4522B4#4522B4

#4522B4 is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.9% C 0.209 H 283.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#4522B4
RGBrgb(69, 34, 180)
HSLhsl(254, 68%, 42%)
HSVhsv(254, 81%, 71%)
CMYKcmyk(61.7%, 81.1%, 0%, 29.4%)
CIE-LABlab(28.65, 53.11, -70.52)
CIE-LCHlch(28.65, 88.28, 306.99°)
OKLaboklab(40.9% 0.0474 -0.2033)
OKLCHoklch(40.9% 0.209 283.1)
XYZxyz(11.2619, 5.7038, 43.6786)
Luminance0.0570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4522B4 #91B422
analogous
#2248B4 #4522B4 #8E22B4
triadic
#4522B4 #B44522 #22B445
tetradic
#4522B4 #B42248 #91B422 #22B48E
square
#4522B4 #B42248 #91B422 #22B48E
split-complementary
#4522B4 #B48E22 #48B422
monochromatic
#1E0F4D #311881 #4522B4 #603ADA #896DE3

Accessibility & contrast

On white

9.81
#4522B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4522B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4522B4
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4522B4#FFFFFF#000000##FFFFFF
##4522B41.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#003FB1
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4522b4;
/* rgb */ color: rgb(69, 34, 180);
/* oklch */ color: oklch(40.9% 0.209 283.1);
Tailwind
colors: {
  custom: {
    50: '#8763cc',
    500: '#4522b4',
    950: '#000000',
  },
}
SCSS
$custom: #4522b4;
$custom-light: #8763cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4522b4",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 180
  },
  "hsl": {
    "h": 254.384,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40903,
    "c": 0.2088,
    "h": 283.1
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#4522B4
secondary
#B2CA68
accent
#EB3DC1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0614
muted
#7E7A82

Preview Lab

Preview with #4522B4

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

Preview Lab → · Contrast checker → · Palette generator →

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