#3D20A3#3D20A3

#3D20A3 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.2% C 0.192 H 282.5°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#3D20A3
RGBrgb(61, 32, 163)
HSLhsl(253, 67%, 38%)
HSVhsv(253, 80%, 64%)
CMYKcmyk(62.6%, 80.4%, 0%, 36.1%)
CIE-LABlab(25.77, 48.28, -65.08)
CIE-LCHlch(25.77, 81.03, 306.57°)
OKLaboklab(38.18% 0.0417 -0.1877)
OKLCHoklch(38.18% 0.192 282.5)
XYZxyz(9.0498, 4.6688, 35.0675)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D20A3 #86A320
analogous
#2045A3 #3D20A3 #7E20A3
triadic
#3D20A3 #A33D20 #20A33D
tetradic
#3D20A3 #A32045 #86A320 #20A37E
square
#3D20A3 #A32045 #86A320 #20A37E
split-complementary
#3D20A3 #A37E20 #45A320
monochromatic
#170C3D #2A1670 #3D20A3 #512BD5 #7B5EDF

Accessibility & contrast

On white

10.86
#3D20A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#3D20A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D20A3
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D20A3#FFFFFF#000000##FFFFFF
##3D20A31.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A7
Deuteranopia (green-blind)
#0038A1
Tritanopia (blue-blind)
#004762
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d20a3;
/* rgb */ color: rgb(61, 32, 163);
/* oklch */ color: oklch(38.2% 0.192 282.5);
Tailwind
colors: {
  custom: {
    50: '#8060c0',
    500: '#3d20a3',
    950: '#000000',
  },
}
SCSS
$custom: #3d20a3;
$custom-light: #8060c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d20a3",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 163
  },
  "hsl": {
    "h": 253.282,
    "s": 67.179,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38184,
    "c": 0.19227,
    "h": 282.5
  },
  "luminance": 0.04669
}

Semantic roles & 50–950 ramp

primary
#3D20A3
secondary
#ADC45B
accent
#EA3EC4
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3D20A3

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

Preview Lab → · Contrast checker → · Palette generator →

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