#3E22A9#3E22A9

#3E22A9 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.1% C 0.197 H 281.8°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#3E22A9
RGBrgb(62, 34, 169)
HSLhsl(252, 67%, 40%)
HSVhsv(252, 80%, 66%)
CMYKcmyk(63.3%, 79.9%, 0%, 33.7%)
CIE-LABlab(26.83, 49.21, -66.96)
CIE-LCHlch(26.83, 83.10, 306.31°)
OKLaboklab(39.13% 0.0402 -0.1932)
OKLCHoklch(39.13% 0.197 281.8)
XYZxyz(9.7178, 5.0320, 37.9876)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E22A9 #8DA922
analogous
#224AA9 #3E22A9 #8122A9
triadic
#3E22A9 #A93E22 #22A93E
tetradic
#3E22A9 #A9224A #8DA922 #22A981
square
#3E22A9 #A9224A #8DA922 #22A981
split-complementary
#3E22A9 #A98122 #4AA922
monochromatic
#190D43 #2B1876 #3E22A9 #5432D6 #7F65E0

Accessibility & contrast

On white

10.47
#3E22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3E22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E22A9
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E22A9#FFFFFF#000000##FFFFFF
##3E22A91.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e22a9;
/* rgb */ color: rgb(62, 34, 169);
/* oklch */ color: oklch(39.1% 0.197 281.8);
Tailwind
colors: {
  custom: {
    50: '#8262c4',
    500: '#3e22a9',
    950: '#000000',
  },
}
SCSS
$custom: #3e22a9;
$custom-light: #8262c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e22a9",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 252.444,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.3913,
    "c": 0.19732,
    "h": 281.8
  },
  "luminance": 0.05033
}

Semantic roles & 50–950 ramp

primary
#3E22A9
secondary
#B1C561
accent
#E93EC6
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3E22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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