#3E22A0#3E22A0

#3E22A0 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.187 H 283.3°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#3E22A0
RGBrgb(62, 34, 160)
HSLhsl(253, 65%, 38%)
HSVhsv(253, 79%, 63%)
CMYKcmyk(61.2%, 78.8%, 0%, 37.3%)
CIE-LABlab(25.88, 46.55, -63.07)
CIE-LCHlch(25.88, 78.39, 306.43°)
OKLaboklab(38.19% 0.0429 -0.1818)
OKLCHoklch(38.19% 0.187 283.3)
XYZxyz(8.9018, 4.7056, 33.6901)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E22A0 #84A022
analogous
#2245A0 #3E22A0 #7D22A0
triadic
#3E22A0 #A03E22 #22A03E
tetradic
#3E22A0 #A02245 #84A022 #22A07D
square
#3E22A0 #A02245 #84A022 #22A07D
split-complementary
#3E22A0 #A07D22 #45A022
monochromatic
#170D3B #2A176E #3E22A0 #522DD2 #7B5FDD

Accessibility & contrast

On white

10.82
#3E22A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3E22A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E22A0
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E22A0#FFFFFF#000000##FFFFFF
##3E22A01.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00399E
Tritanopia (blue-blind)
#004760
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3e22a0;
/* rgb */ color: rgb(62, 34, 160);
/* oklch */ color: oklch(38.2% 0.187 283.3);
Tailwind
colors: {
  custom: {
    50: '#8061bd',
    500: '#3e22a0',
    950: '#000000',
  },
}
SCSS
$custom: #3e22a0;
$custom-light: #8061bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e22a0",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 160
  },
  "hsl": {
    "h": 253.333,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38189,
    "c": 0.18683,
    "h": 283.3
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

primary
#3E22A0
secondary
#ABC25C
accent
#E840C3
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3E22A0

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

Preview Lab → · Contrast checker → · Palette generator →

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