#3E22B4#3E22B4

#3E22B4 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.3% C 0.210 H 280.1°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#3E22B4
RGBrgb(62, 34, 180)
HSLhsl(252, 68%, 42%)
HSVhsv(252, 81%, 71%)
CMYKcmyk(65.6%, 81.1%, 0%, 29.4%)
CIE-LABlab(28.01, 52.42, -71.59)
CIE-LCHlch(28.01, 88.73, 306.21°)
OKLaboklab(40.31% 0.0369 -0.2067)
OKLCHoklch(40.31% 0.21 280.1)
XYZxyz(10.7942, 5.4626, 43.6567)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E22B4 #98B422
analogous
#224FB4 #3E22B4 #8722B4
triadic
#3E22B4 #B43E22 #22B43E
tetradic
#3E22B4 #B4224F #98B422 #22B487
square
#3E22B4 #B4224F #98B422 #22B487
split-complementary
#3E22B4 #B48722 #4FB422
monochromatic
#1B0F4D #2C1881 #3E22B4 #583ADA #846DE3

Accessibility & contrast

On white

10.04
#3E22B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3E22B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E22B4
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E22B4#FFFFFF#000000##FFFFFF
##3E22B41.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#003CB1
Tritanopia (blue-blind)
#004F6C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e22b4;
/* rgb */ color: rgb(62, 34, 180);
/* oklch */ color: oklch(40.3% 0.210 280.1);
Tailwind
colors: {
  custom: {
    50: '#8463cc',
    500: '#3e22b4',
    950: '#000000',
  },
}
SCSS
$custom: #3e22b4;
$custom-light: #8463cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e22b4",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 180
  },
  "hsl": {
    "h": 251.507,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40305,
    "c": 0.20993,
    "h": 280.1
  },
  "luminance": 0.05463
}

Semantic roles & 50–950 ramp

primary
#3E22B4
secondary
#B7CA68
accent
#EB3DCA
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #3E22B4

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

Preview Lab → · Contrast checker → · Palette generator →

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