#3E22AE#3E22AE

#3E22AE is a dark, highly saturated violet. Relative luminance 0.052; OKLCH L 39.7% C 0.203 H 281.0°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#3E22AE
RGBrgb(62, 34, 174)
HSLhsl(252, 67%, 41%)
HSVhsv(252, 80%, 68%)
CMYKcmyk(64.4%, 80.5%, 0%, 31.8%)
CIE-LABlab(27.36, 50.67, -69.08)
CIE-LCHlch(27.36, 85.67, 306.26°)
OKLaboklab(39.66% 0.0387 -0.1994)
OKLCHoklch(39.66% 0.203 281)
XYZxyz(10.1962, 5.2234, 40.5071)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E22AE #92AE22
analogous
#224CAE #3E22AE #8422AE
triadic
#3E22AE #AE3E22 #22AE3E
tetradic
#3E22AE #AE224C #92AE22 #22AE84
square
#3E22AE #AE224C #92AE22 #22AE84
split-complementary
#3E22AE #AE8422 #4CAE22
monochromatic
#1A0E48 #2C187B #3E22AE #5636D8 #8169E2

Accessibility & contrast

On white

10.27
#3E22AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3E22AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E22AE
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E22AE#FFFFFF#000000##FFFFFF
##3E22AE1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e22ae;
/* rgb */ color: rgb(62, 34, 174);
/* oklch */ color: oklch(39.7% 0.203 281.0);
Tailwind
colors: {
  custom: {
    50: '#8362c7',
    500: '#3e22ae',
    950: '#000000',
  },
}
SCSS
$custom: #3e22ae;
$custom-light: #8362c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e22ae",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 252,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39661,
    "c": 0.20308,
    "h": 281
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

primary
#3E22AE
secondary
#B4C764
accent
#EA3EC8
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3E22AE

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

Preview Lab → · Contrast checker → · Palette generator →

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