#3B22AA#3B22AA

#3B22AA is a dark, vivid violet. Relative luminance 0.050; OKLCH L 39.0% C 0.199 H 280.3°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#3B22AA
RGBrgb(59, 34, 170)
HSLhsl(251, 67%, 40%)
HSVhsv(251, 80%, 67%)
CMYKcmyk(65.3%, 80%, 0%, 33.3%)
CIE-LABlab(26.66, 49.19, -67.84)
CIE-LCHlch(26.66, 83.79, 305.95°)
OKLaboklab(38.98% 0.0354 -0.1958)
OKLCHoklch(38.98% 0.199 280.3)
XYZxyz(9.6291, 4.9754, 38.4753)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B22AA #91AA22
analogous
#224DAA #3B22AA #7F22AA
triadic
#3B22AA #AA3B22 #22AA3B
tetradic
#3B22AA #AA224D #91AA22 #22AA7F
square
#3B22AA #AA224D #91AA22 #22AA7F
split-complementary
#3B22AA #AA7F22 #4DAA22
monochromatic
#180E44 #291877 #3B22AA #5133D6 #7C66E0

Accessibility & contrast

On white

10.53
#3B22AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3B22AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B22AA
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B22AA#FFFFFF#000000##FFFFFF
##3B22AA1.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#003AA8
Tritanopia (blue-blind)
#004B66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3b22aa;
/* rgb */ color: rgb(59, 34, 170);
/* oklch */ color: oklch(39.0% 0.199 280.3);
Tailwind
colors: {
  custom: {
    50: '#8162c5',
    500: '#3b22aa',
    950: '#000000',
  },
}
SCSS
$custom: #3b22aa;
$custom-light: #8162c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b22aa",
  "rgb": {
    "r": 59,
    "g": 34,
    "b": 170
  },
  "hsl": {
    "h": 251.029,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.38983,
    "c": 0.199,
    "h": 280.3
  },
  "luminance": 0.04976
}

Semantic roles & 50–950 ramp

primary
#3B22AA
secondary
#B4C662
accent
#EA3ECA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0513
muted
#7D7A82

Preview Lab

Preview with #3B22AA

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

Preview Lab → · Contrast checker → · Palette generator →

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