#3D20A2#3D20A2

#3D20A2 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.1% C 0.191 H 282.7°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#3D20A2
RGBrgb(61, 32, 162)
HSLhsl(253, 67%, 38%)
HSVhsv(253, 80%, 64%)
CMYKcmyk(62.3%, 80.2%, 0%, 36.5%)
CIE-LABlab(25.66, 47.98, -64.64)
CIE-LCHlch(25.66, 80.51, 306.58°)
OKLaboklab(38.08% 0.042 -0.1864)
OKLCHoklch(38.08% 0.191 282.7)
XYZxyz(8.9605, 4.6331, 34.5975)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D20A2 #85A220
analogous
#2044A2 #3D20A2 #7E20A2
triadic
#3D20A2 #A23D20 #20A23D
tetradic
#3D20A2 #A22044 #85A220 #20A27E
square
#3D20A2 #A22044 #85A220 #20A27E
split-complementary
#3D20A2 #A27E20 #44A220
monochromatic
#170C3C #2A166F #3D20A2 #502AD5 #7A5DDF

Accessibility & contrast

On white

10.90
#3D20A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D20A2
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D20A2#FFFFFF#000000##FFFFFF
##3D20A21.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0038A0
Tritanopia (blue-blind)
#004761
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d20a2;
/* rgb */ color: rgb(61, 32, 162);
/* oklch */ color: oklch(38.1% 0.191 282.7);
Tailwind
colors: {
  custom: {
    50: '#8060bf',
    500: '#3d20a2',
    950: '#000000',
  },
}
SCSS
$custom: #3d20a2;
$custom-light: #8060bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3d20a2",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 162
  },
  "hsl": {
    "h": 253.385,
    "s": 67.01,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38078,
    "c": 0.19111,
    "h": 282.7
  },
  "luminance": 0.04634
}

Semantic roles & 50–950 ramp

primary
#3D20A2
secondary
#ACC35A
accent
#EA3EC4
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D20A2

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

Preview Lab → · Contrast checker → · Palette generator →

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