#3E22A5#3E22A5

#3E22A5 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.193 H 282.4°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#3E22A5
RGBrgb(62, 34, 165)
HSLhsl(253, 66%, 39%)
HSVhsv(253, 79%, 65%)
CMYKcmyk(62.4%, 79.4%, 0%, 35.3%)
CIE-LABlab(26.40, 48.03, -65.24)
CIE-LCHlch(26.40, 81.01, 306.36°)
OKLaboklab(38.71% 0.0414 -0.1882)
OKLCHoklch(38.71% 0.193 282.4)
XYZxyz(9.3480, 4.8841, 36.0401)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E22A5 #89A522
analogous
#2248A5 #3E22A5 #8022A5
triadic
#3E22A5 #A53E22 #22A53E
tetradic
#3E22A5 #A52248 #89A522 #22A580
square
#3E22A5 #A52248 #89A522 #22A580
split-complementary
#3E22A5 #A58022 #48A522
monochromatic
#180D40 #2B1872 #3E22A5 #5330D4 #7D63DF

Accessibility & contrast

On white

10.62
#3E22A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3E22A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E22A5
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E22A5#FFFFFF#000000##FFFFFF
##3E22A51.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#003AA3
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e22a5;
/* rgb */ color: rgb(62, 34, 165);
/* oklch */ color: oklch(38.7% 0.193 282.4);
Tailwind
colors: {
  custom: {
    50: '#8162c1',
    500: '#3e22a5',
    950: '#000000',
  },
}
SCSS
$custom: #3e22a5;
$custom-light: #8162c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e22a5",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 252.824,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38709,
    "c": 0.19269,
    "h": 282.4
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#3E22A5
secondary
#AEC45F
accent
#E93FC4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #3E22A5

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

Preview Lab → · Contrast checker → · Palette generator →

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