#4022AE#4022AE

#4022AE is a dark, highly saturated violet. Relative luminance 0.053; OKLCH L 39.8% C 0.203 H 281.9°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#4022AE
RGBrgb(64, 34, 174)
HSLhsl(253, 67%, 41%)
HSVhsv(253, 80%, 68%)
CMYKcmyk(63.2%, 80.5%, 0%, 31.8%)
CIE-LABlab(27.54, 50.88, -68.77)
CIE-LCHlch(27.54, 85.55, 306.49°)
OKLaboklab(39.83% 0.0417 -0.1984)
OKLCHoklch(39.83% 0.203 281.9)
XYZxyz(10.3240, 5.2893, 40.5131)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4022AE #90AE22
analogous
#224AAE #4022AE #8622AE
triadic
#4022AE #AE4022 #22AE40
tetradic
#4022AE #AE224A #90AE22 #22AE86
square
#4022AE #AE224A #90AE22 #22AE86
split-complementary
#4022AE #AE8622 #4AAE22
monochromatic
#1A0E48 #2D187B #4022AE #5836D8 #8369E2

Accessibility & contrast

On white

10.20
#4022AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4022AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4022AE
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4022AE#FFFFFF#000000##FFFFFF
##4022AE1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4022ae;
/* rgb */ color: rgb(64, 34, 174);
/* oklch */ color: oklch(39.8% 0.203 281.9);
Tailwind
colors: {
  custom: {
    50: '#8462c7',
    500: '#4022ae',
    950: '#000000',
  },
}
SCSS
$custom: #4022ae;
$custom-light: #8462c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4022ae",
  "rgb": {
    "r": 64,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 252.857,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39831,
    "c": 0.20276,
    "h": 281.9
  },
  "luminance": 0.0529
}

Semantic roles & 50–950 ramp

primary
#4022AE
secondary
#B2C764
accent
#EA3EC5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #4022AE

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

Preview Lab → · Contrast checker → · Palette generator →

#4022AE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva