#3E22B5#3E22B5

#3E22B5 is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.4% C 0.211 H 280.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#3E22B5
RGBrgb(62, 34, 181)
HSLhsl(251, 68%, 42%)
HSVhsv(251, 81%, 71%)
CMYKcmyk(65.7%, 81.2%, 0%, 29%)
CIE-LABlab(28.12, 52.71, -72.01)
CIE-LCHlch(28.12, 89.24, 306.20°)
OKLaboklab(40.41% 0.0366 -0.2079)
OKLCHoklch(40.41% 0.211 280)
XYZxyz(10.8965, 5.5035, 44.1952)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E22B5 #99B522
analogous
#224FB5 #3E22B5 #8822B5
triadic
#3E22B5 #B53E22 #22B53E
tetradic
#3E22B5 #B5224F #99B522 #22B588
square
#3E22B5 #B5224F #99B522 #22B588
split-complementary
#3E22B5 #B58822 #4FB522
monochromatic
#1B0F4E #2C1881 #3E22B5 #593ADA #846EE4

Accessibility & contrast

On white

10.00
#3E22B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3E22B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E22B5
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E22B5#FFFFFF#000000##FFFFFF
##3E22B51.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B9
Deuteranopia (green-blind)
#003DB2
Tritanopia (blue-blind)
#00506D
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e22b5;
/* rgb */ color: rgb(62, 34, 181);
/* oklch */ color: oklch(40.4% 0.211 280.0);
Tailwind
colors: {
  custom: {
    50: '#8463cd',
    500: '#3e22b5',
    950: '#000000',
  },
}
SCSS
$custom: #3e22b5;
$custom-light: #8463cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e22b5",
  "rgb": {
    "r": 62,
    "g": 34,
    "b": 181
  },
  "hsl": {
    "h": 251.429,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.40413,
    "c": 0.21107,
    "h": 280
  },
  "luminance": 0.05504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3E22B5

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

Preview Lab → · Contrast checker → · Palette generator →

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