#3B20AD#3B20AD

#3B20AD is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.1% C 0.204 H 280.0°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#3B20AD
RGBrgb(59, 32, 173)
HSLhsl(251, 69%, 40%)
HSVhsv(251, 82%, 68%)
CMYKcmyk(65.9%, 81.5%, 0%, 32.2%)
CIE-LABlab(26.68, 50.99, -69.62)
CIE-LCHlch(26.68, 86.30, 306.22°)
OKLaboklab(39.09% 0.0355 -0.201)
OKLCHoklch(39.09% 0.204 280)
XYZxyz(9.8606, 4.9792, 39.9685)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B20AD #92AD20
analogous
#204CAD #3B20AD #8120AD
triadic
#3B20AD #AD3B20 #20AD3B
tetradic
#3B20AD #AD204C #92AD20 #20AD81
square
#3B20AD #AD204C #92AD20 #20AD81
split-complementary
#3B20AD #AD8120 #4CAD20
monochromatic
#180D46 #291679 #3B20AD #5131D9 #7D65E2

Accessibility & contrast

On white

10.52
#3B20AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B20AD
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B20AD#FFFFFF#000000##FFFFFF
##3B20AD1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B1
Deuteranopia (green-blind)
#003AAB
Tritanopia (blue-blind)
#004C68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3b20ad;
/* rgb */ color: rgb(59, 32, 173);
/* oklch */ color: oklch(39.1% 0.204 280.0);
Tailwind
colors: {
  custom: {
    50: '#8161c7',
    500: '#3b20ad',
    950: '#000000',
  },
}
SCSS
$custom: #3b20ad;
$custom-light: #8161c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b20ad",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 251.489,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39087,
    "c": 0.20412,
    "h": 280
  },
  "luminance": 0.0498
}

Semantic roles & 50–950 ramp

primary
#3B20AD
secondary
#B4C861
accent
#EC3CCA
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3B20AD

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

Preview Lab → · Contrast checker → · Palette generator →

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