#3D20AE#3D20AE

#3D20AE is a dark, highly saturated violet. Relative luminance 0.051; OKLCH L 39.4% C 0.205 H 280.8°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#3D20AE
RGBrgb(61, 32, 174)
HSLhsl(252, 69%, 40%)
HSVhsv(252, 82%, 68%)
CMYKcmyk(64.9%, 81.6%, 0%, 31.8%)
CIE-LABlab(26.96, 51.48, -69.74)
CIE-LCHlch(26.96, 86.68, 306.43°)
OKLaboklab(39.36% 0.0382 -0.2013)
OKLCHoklch(39.36% 0.205 280.8)
XYZxyz(10.0785, 5.0803, 40.4857)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D20AE #91AE20
analogous
#204AAE #3D20AE #8420AE
triadic
#3D20AE #AE3D20 #20AE3D
tetradic
#3D20AE #AE204A #91AE20 #20AE84
square
#3D20AE #AE204A #91AE20 #20AE84
split-complementary
#3D20AE #AE8420 #4AAE20
monochromatic
#190D47 #2B167A #3D20AE #5432D9 #7F66E3

Accessibility & contrast

On white

10.42
#3D20AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D20AE
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D20AE#FFFFFF#000000##FFFFFF
##3D20AE1.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d20ae;
/* rgb */ color: rgb(61, 32, 174);
/* oklch */ color: oklch(39.4% 0.205 280.8);
Tailwind
colors: {
  custom: {
    50: '#8261c8',
    500: '#3d20ae',
    950: '#000000',
  },
}
SCSS
$custom: #3d20ae;
$custom-light: #8261c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d20ae",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 174
  },
  "hsl": {
    "h": 252.254,
    "s": 68.932,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39362,
    "c": 0.20489,
    "h": 280.8
  },
  "luminance": 0.05081
}

Semantic roles & 50–950 ramp

primary
#3D20AE
secondary
#B3C862
accent
#EC3CC8
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0513
muted
#7D7982

Preview Lab

Preview with #3D20AE

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

Preview Lab → · Contrast checker → · Palette generator →

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