#3B20AE#3B20AE

#3B20AE is a dark, highly saturated violet. Relative luminance 0.050; OKLCH L 39.2% C 0.205 H 279.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#3B20AE
RGBrgb(59, 32, 174)
HSLhsl(251, 69%, 40%)
HSVhsv(251, 82%, 68%)
CMYKcmyk(66.1%, 81.6%, 0%, 31.8%)
CIE-LABlab(26.79, 51.29, -70.04)
CIE-LCHlch(26.79, 86.81, 306.21°)
OKLaboklab(39.2% 0.0352 -0.2022)
OKLCHoklch(39.2% 0.205 279.9)
XYZxyz(9.9577, 5.0180, 40.4800)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B20AE #93AE20
analogous
#204CAE #3B20AE #8220AE
triadic
#3B20AE #AE3B20 #20AE3B
tetradic
#3B20AE #AE204C #93AE20 #20AE82
square
#3B20AE #AE204C #93AE20 #20AE82
split-complementary
#3B20AE #AE8220 #4CAE20
monochromatic
#180D47 #29167A #3B20AE #5232D9 #7D66E3

Accessibility & contrast

On white

10.48
#3B20AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B20AE
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B20AE#FFFFFF#000000##FFFFFF
##3B20AE1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b20ae;
/* rgb */ color: rgb(59, 32, 174);
/* oklch */ color: oklch(39.2% 0.205 279.9);
Tailwind
colors: {
  custom: {
    50: '#8161c8',
    500: '#3b20ae',
    950: '#000000',
  },
}
SCSS
$custom: #3b20ae;
$custom-light: #8161c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3b20ae",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 251.408,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39196,
    "c": 0.20525,
    "h": 279.9
  },
  "luminance": 0.05019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B20AE

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

Preview Lab → · Contrast checker → · Palette generator →

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