#3D16A1#3D16A1

#3D16A1 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 37.0% C 0.198 H 283.9°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#3D16A1
RGBrgb(61, 22, 161)
HSLhsl(257, 76%, 36%)
HSVhsv(257, 86%, 63%)
CMYKcmyk(62.1%, 86.3%, 0%, 36.9%)
CIE-LABlab(24.12, 51.89, -66.58)
CIE-LCHlch(24.12, 84.41, 307.93°)
OKLaboklab(36.99% 0.0475 -0.1919)
OKLCHoklch(36.99% 0.198 283.9)
XYZxyz(8.6424, 4.1385, 34.0547)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D16A1 #7AA116
analogous
#1634A1 #3D16A1 #8216A1
triadic
#3D16A1 #A13D16 #16A13D
tetradic
#3D16A1 #A11634 #7AA116 #16A182
square
#3D16A1 #A11634 #7AA116 #16A182
split-complementary
#3D16A1 #A18216 #34A116
monochromatic
#140735 #290F6B #3D16A1 #511DD7 #774BE6

Accessibility & contrast

On white

11.49
#3D16A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3D16A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D16A1
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D16A1#FFFFFF#000000##FFFFFF
##3D16A11.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA5
Deuteranopia (green-blind)
#00359F
Tritanopia (blue-blind)
#00435F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d16a1;
/* rgb */ color: rgb(61, 22, 161);
/* oklch */ color: oklch(37.0% 0.198 283.9);
Tailwind
colors: {
  custom: {
    50: '#815cbe',
    500: '#3d16a1',
    950: '#000000',
  },
}
SCSS
$custom: #3d16a1;
$custom-light: #815cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3d16a1",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 161
  },
  "hsl": {
    "h": 256.835,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36986,
    "c": 0.19773,
    "h": 283.9
  },
  "luminance": 0.04139
}

Semantic roles & 50–950 ramp

primary
#3D16A1
secondary
#A5C84B
accent
#F335BD
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3D16A1

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

Preview Lab → · Contrast checker → · Palette generator →

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