#3B22AD#3B22AD

#3B22AD is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.3% C 0.202 H 279.8°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#3B22AD
RGBrgb(59, 34, 173)
HSLhsl(251, 67%, 41%)
HSVhsv(251, 80%, 68%)
CMYKcmyk(65.9%, 80.3%, 0%, 32.2%)
CIE-LABlab(26.99, 50.08, -69.10)
CIE-LCHlch(26.99, 85.34, 305.93°)
OKLaboklab(39.31% 0.0346 -0.1995)
OKLCHoklch(39.31% 0.202 279.8)
XYZxyz(9.9161, 5.0902, 39.9870)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B22AD #94AD22
analogous
#224FAD #3B22AD #8022AD
triadic
#3B22AD #AD3B22 #22AD3B
tetradic
#3B22AD #AD224F #94AD22 #22AD80
square
#3B22AD #AD224F #94AD22 #22AD80
split-complementary
#3B22AD #AD8022 #4FAD22
monochromatic
#180E47 #2A187A #3B22AD #5235D7 #7E68E1

Accessibility & contrast

On white

10.41
#3B22AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3B22AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B22AD
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B22AD#FFFFFF#000000##FFFFFF
##3B22AD1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#003AAB
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3b22ad;
/* rgb */ color: rgb(59, 34, 173);
/* oklch */ color: oklch(39.3% 0.202 279.8);
Tailwind
colors: {
  custom: {
    50: '#8162c7',
    500: '#3b22ad',
    950: '#000000',
  },
}
SCSS
$custom: #3b22ad;
$custom-light: #8162c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b22ad",
  "rgb": {
    "r": 59,
    "g": 34,
    "b": 173
  },
  "hsl": {
    "h": 250.791,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39305,
    "c": 0.20248,
    "h": 279.8
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B22AD

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

Preview Lab → · Contrast checker → · Palette generator →

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