#4522B2#4522B2

#4522B2 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 40.7% C 0.207 H 283.4°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#4522B2
RGBrgb(69, 34, 178)
HSLhsl(255, 68%, 42%)
HSVhsv(255, 81%, 70%)
CMYKcmyk(61.2%, 80.9%, 0%, 30.2%)
CIE-LABlab(28.44, 52.55, -69.67)
CIE-LCHlch(28.44, 87.27, 307.02°)
OKLaboklab(40.69% 0.048 -0.2009)
OKLCHoklch(40.69% 0.207 283.4)
XYZxyz(11.0597, 5.6229, 42.6134)
Luminance0.0562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4522B2 #8FB222
analogous
#2247B2 #4522B2 #8D22B2
triadic
#4522B2 #B24522 #22B245
tetradic
#4522B2 #B22247 #8FB222 #22B28D
square
#4522B2 #B22247 #8FB222 #22B28D
split-complementary
#4522B2 #B28D22 #47B222
monochromatic
#1D0E4B #31187F #4522B2 #5F38D9 #896CE3

Accessibility & contrast

On white

9.88
#4522B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#4522B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4522B2
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4522B2#FFFFFF#000000##FFFFFF
##4522B21.009.882.129.88
#FFFFFF9.881.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B6
Deuteranopia (green-blind)
#003EAF
Tritanopia (blue-blind)
#004E6B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4522b2;
/* rgb */ color: rgb(69, 34, 178);
/* oklch */ color: oklch(40.7% 0.207 283.4);
Tailwind
colors: {
  custom: {
    50: '#8763ca',
    500: '#4522b2',
    950: '#000000',
  },
}
SCSS
$custom: #4522b2;
$custom-light: #8763ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4522b2",
  "rgb": {
    "r": 69,
    "g": 34,
    "b": 178
  },
  "hsl": {
    "h": 254.583,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40693,
    "c": 0.20655,
    "h": 283.4
  },
  "luminance": 0.05624
}

Semantic roles & 50–950 ramp

primary
#4522B2
secondary
#B1C967
accent
#EB3DC1
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4522B2

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

Preview Lab → · Contrast checker → · Palette generator →

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