#3B20A9#3B20A9

#3B20A9 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.7% C 0.200 H 280.6°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#3B20A9
RGBrgb(59, 32, 169)
HSLhsl(252, 68%, 39%)
HSVhsv(252, 81%, 66%)
CMYKcmyk(65.1%, 81.1%, 0%, 33.7%)
CIE-LABlab(26.24, 49.82, -67.94)
CIE-LCHlch(26.24, 84.25, 306.25°)
OKLaboklab(38.65% 0.0368 -0.1961)
OKLCHoklch(38.65% 0.2 280.6)
XYZxyz(9.4793, 4.8267, 37.9605)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B20A9 #8EA920
analogous
#204AA9 #3B20A9 #8020A9
triadic
#3B20A9 #A93B20 #20A93B
tetradic
#3B20A9 #A9204A #8EA920 #20A980
square
#3B20A9 #A9204A #8EA920 #20A980
split-complementary
#3B20A9 #A98020 #4AA920
monochromatic
#170D42 #291676 #3B20A9 #502FD8 #7B62E1

Accessibility & contrast

On white

10.68
#3B20A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3B20A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B20A9
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B20A9#FFFFFF#000000##FFFFFF
##3B20A91.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#004A65
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3b20a9;
/* rgb */ color: rgb(59, 32, 169);
/* oklch */ color: oklch(38.7% 0.200 280.6);
Tailwind
colors: {
  custom: {
    50: '#8061c4',
    500: '#3b20a9',
    950: '#000000',
  },
}
SCSS
$custom: #3b20a9;
$custom-light: #8061c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b20a9",
  "rgb": {
    "r": 59,
    "g": 32,
    "b": 169
  },
  "hsl": {
    "h": 251.825,
    "s": 68.159,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38653,
    "c": 0.19953,
    "h": 280.6
  },
  "luminance": 0.04827
}

Semantic roles & 50–950 ramp

primary
#3B20A9
secondary
#B2C65F
accent
#EB3DC9
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3B20A9

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

Preview Lab → · Contrast checker → · Palette generator →

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