#3E22A4#3E22A4

#3E22A4 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.6% C 0.192 H 282.6°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3E22A4
RGBrgb(62, 34, 164)
HSLhsl(253, 66%, 39%)
HSVhsv(253, 79%, 64%)
CMYKcmyk(62.2%, 79.3%, 0%, 35.7%)
CIE-LABlab(26.30, 47.73, -64.81)
CIE-LCHlch(26.30, 80.49, 306.37°)
OKLaboklab(38.61% 0.0417 -0.1869)
OKLCHoklch(38.61% 0.192 282.6)
XYZxyz(9.2574, 4.8479, 35.5627)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E22A4 #88A422
analogous
#2247A4 #3E22A4 #7F22A4
triadic
#3E22A4 #A43E22 #22A43E
tetradic
#3E22A4 #A42247 #88A422 #22A47F
square
#3E22A4 #A42247 #88A422 #22A47F
split-complementary
#3E22A4 #A47F22 #47A422
monochromatic
#180D3F #2B1771 #3E22A4 #532FD4 #7D62DE

Accessibility & contrast

On white

10.66
#3E22A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3E22A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E22A4
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E22A4#FFFFFF#000000##FFFFFF
##3E22A41.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e22a4;
/* rgb */ color: rgb(62, 34, 164);
/* oklch */ color: oklch(38.6% 0.192 282.6);
Tailwind
colors: {
  custom: {
    50: '#8162c0',
    500: '#3e22a4',
    950: '#000000',
  },
}
SCSS
$custom: #3e22a4;
$custom-light: #8162c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e22a4",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 164
  },
  "hsl": {
    "h": 252.923,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38605,
    "c": 0.19151,
    "h": 282.6
  },
  "luminance": 0.04849
}

Semantic roles & 50–950 ramp

primary
#3E22A4
secondary
#AEC45E
accent
#E93FC4
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3E22A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3E22A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva