#3B22AE#3B22AE

#3B22AE is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.4% C 0.204 H 279.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#3B22AE
RGBrgb(59, 34, 174)
HSLhsl(251, 67%, 41%)
HSVhsv(251, 80%, 68%)
CMYKcmyk(66.1%, 80.5%, 0%, 31.8%)
CIE-LABlab(27.10, 50.37, -69.52)
CIE-LCHlch(27.10, 85.85, 305.93°)
OKLaboklab(39.41% 0.0343 -0.2007)
OKLCHoklch(39.41% 0.204 279.7)
XYZxyz(10.0132, 5.1290, 40.4985)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B22AE #95AE22
analogous
#224FAE #3B22AE #8122AE
triadic
#3B22AE #AE3B22 #22AE3B
tetradic
#3B22AE #AE224F #95AE22 #22AE81
square
#3B22AE #AE224F #95AE22 #22AE81
split-complementary
#3B22AE #AE8122 #4FAE22
monochromatic
#180E48 #2A187B #3B22AE #5336D8 #7E69E2

Accessibility & contrast

On white

10.37
#3B22AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3B22AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B22AE
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B22AE#FFFFFF#000000##FFFFFF
##3B22AE1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#004D69
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3b22ae;
/* rgb */ color: rgb(59, 34, 174);
/* oklch */ color: oklch(39.4% 0.204 279.7);
Tailwind
colors: {
  custom: {
    50: '#8162c8',
    500: '#3b22ae',
    950: '#000000',
  },
}
SCSS
$custom: #3b22ae;
$custom-light: #8162c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b22ae",
  "rgb": {
    "r": 59,
    "g": 34,
    "b": 174
  },
  "hsl": {
    "h": 250.714,
    "s": 67.308,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39413,
    "c": 0.20363,
    "h": 279.7
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#3B22AE
secondary
#B6C764
accent
#EA3ECB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3B22AE

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

Preview Lab → · Contrast checker → · Palette generator →

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