#3D20A1#3D20A1

#3D20A1 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 38.0% C 0.190 H 282.9°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#3D20A1
RGBrgb(61, 32, 161)
HSLhsl(253, 67%, 38%)
HSVhsv(253, 80%, 63%)
CMYKcmyk(62.1%, 80.1%, 0%, 36.9%)
CIE-LABlab(25.56, 47.69, -64.21)
CIE-LCHlch(25.56, 79.98, 306.60°)
OKLaboklab(37.97% 0.0423 -0.1852)
OKLCHoklch(37.97% 0.19 282.9)
XYZxyz(8.8720, 4.5977, 34.1312)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D20A1 #84A120
analogous
#2044A1 #3D20A1 #7D20A1
triadic
#3D20A1 #A13D20 #20A13D
tetradic
#3D20A1 #A12044 #84A120 #20A17D
square
#3D20A1 #A12044 #84A120 #20A17D
split-complementary
#3D20A1 #A17D20 #44A120
monochromatic
#160C3B #2A166E #3D20A1 #502AD4 #7A5DDF

Accessibility & contrast

On white

10.94
#3D20A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3D20A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D20A1
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D20A1#FFFFFF#000000##FFFFFF
##3D20A11.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A5
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004761
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3d20a1;
/* rgb */ color: rgb(61, 32, 161);
/* oklch */ color: oklch(38.0% 0.190 282.9);
Tailwind
colors: {
  custom: {
    50: '#8060be',
    500: '#3d20a1',
    950: '#000000',
  },
}
SCSS
$custom: #3d20a1;
$custom-light: #8060be;
$custom-dark: #000000;
JSON
{
  "hex": "#3d20a1",
  "rgb": {
    "r": 61,
    "g": 32,
    "b": 161
  },
  "hsl": {
    "h": 253.488,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37972,
    "c": 0.18995,
    "h": 282.9
  },
  "luminance": 0.04598
}

Semantic roles & 50–950 ramp

primary
#3D20A1
secondary
#ABC35A
accent
#EA3EC3
background
#F8F5FB
surface
#F0EAF7
border
#CBC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3D20A1

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

Preview Lab → · Contrast checker → · Palette generator →

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