#3E22A3#3E22A3

#3E22A3 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.5% C 0.190 H 282.8°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3E22A3
RGBrgb(62, 34, 163)
HSLhsl(253, 65%, 39%)
HSVhsv(253, 79%, 64%)
CMYKcmyk(62%, 79.1%, 0%, 36.1%)
CIE-LABlab(26.19, 47.44, -64.37)
CIE-LCHlch(26.19, 79.97, 306.39°)
OKLaboklab(38.5% 0.042 -0.1856)
OKLCHoklch(38.5% 0.19 282.8)
XYZxyz(9.1674, 4.8119, 35.0889)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E22A3 #87A322
analogous
#2246A3 #3E22A3 #7E22A3
triadic
#3E22A3 #A33E22 #22A33E
tetradic
#3E22A3 #A32246 #87A322 #22A37E
square
#3E22A3 #A32246 #87A322 #22A37E
split-complementary
#3E22A3 #A37E22 #46A322
monochromatic
#170D3E #2B1770 #3E22A3 #522FD4 #7C61DE

Accessibility & contrast

On white

10.70
#3E22A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3E22A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E22A3
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E22A3#FFFFFF#000000##FFFFFF
##3E22A31.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004862
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3e22a3;
/* rgb */ color: rgb(62, 34, 163);
/* oklch */ color: oklch(38.5% 0.190 282.8);
Tailwind
colors: {
  custom: {
    50: '#8162bf',
    500: '#3e22a3',
    950: '#000000',
  },
}
SCSS
$custom: #3e22a3;
$custom-light: #8162bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e22a3",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 163
  },
  "hsl": {
    "h": 253.023,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.385,
    "c": 0.19035,
    "h": 282.8
  },
  "luminance": 0.04813
}

Semantic roles & 50–950 ramp

primary
#3E22A3
secondary
#ADC35E
accent
#E83FC4
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3E22A3

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

Preview Lab → · Contrast checker → · Palette generator →

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