#3D20AD#3D20AD

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

Color values

HEX#3D20AD
RGBrgb(61, 32, 173)
HSLhsl(252, 69%, 40%)
HSVhsv(252, 82%, 68%)
CMYKcmyk(64.7%, 81.5%, 0%, 32.2%)
CIE-LABlab(26.85, 51.19, -69.32)
CIE-LCHlch(26.85, 86.17, 306.44°)
OKLaboklab(39.25% 0.0385 -0.2001)
OKLCHoklch(39.25% 0.204 280.9)
XYZxyz(9.9814, 5.0415, 39.9742)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D20AD #90AD20
analogous
#204AAD #3D20AD #8320AD
triadic
#3D20AD #AD3D20 #20AD3D
tetradic
#3D20AD #AD204A #90AD20 #20AD83
square
#3D20AD #AD204A #90AD20 #20AD83
split-complementary
#3D20AD #AD8320 #4AAD20
monochromatic
#190D46 #2B1679 #3D20AD #5431D9 #7F65E2

Accessibility & contrast

On white

10.46
#3D20AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3D20AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D20AD
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D20AD#FFFFFF#000000##FFFFFF
##3D20AD1.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.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: #3d20ad;
/* rgb */ color: rgb(61, 32, 173);
/* oklch */ color: oklch(39.3% 0.204 280.9);
Tailwind
colors: {
  custom: {
    50: '#8261c7',
    500: '#3d20ad',
    950: '#000000',
  },
}
SCSS
$custom: #3d20ad;
$custom-light: #8261c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d20ad",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 173
  },
  "hsl": {
    "h": 252.34,
    "s": 68.78,
    "l": 40.196
  },
  "oklch": {
    "l": 0.39254,
    "c": 0.20376,
    "h": 280.9
  },
  "luminance": 0.05042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D20AD

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

Preview Lab → · Contrast checker → · Palette generator →

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