#3D16A0#3D16A0

#3D16A0 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.9% C 0.197 H 284.1°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#3D16A0
RGBrgb(61, 22, 160)
HSLhsl(257, 76%, 36%)
HSVhsv(257, 86%, 63%)
CMYKcmyk(61.9%, 86.3%, 0%, 37.3%)
CIE-LABlab(24.01, 51.62, -66.16)
CIE-LCHlch(24.01, 83.91, 307.96°)
OKLaboklab(36.88% 0.0479 -0.1907)
OKLCHoklch(36.88% 0.197 284.1)
XYZxyz(8.5546, 4.1034, 33.5921)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D16A0 #79A016
analogous
#1634A0 #3D16A0 #8216A0
triadic
#3D16A0 #A03D16 #16A03D
tetradic
#3D16A0 #A01634 #79A016 #16A082
square
#3D16A0 #A01634 #79A016 #16A082
split-complementary
#3D16A0 #A08216 #34A016
monochromatic
#140734 #280F6A #3D16A0 #521DD6 #764AE6

Accessibility & contrast

On white

11.53
#3D16A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3D16A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D16A0
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D16A0#FFFFFF#000000##FFFFFF
##3D16A01.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d16a0;
/* rgb */ color: rgb(61, 22, 160);
/* oklch */ color: oklch(36.9% 0.197 284.1);
Tailwind
colors: {
  custom: {
    50: '#805bbd',
    500: '#3d16a0',
    950: '#000000',
  },
}
SCSS
$custom: #3d16a0;
$custom-light: #805bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d16a0",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 160
  },
  "hsl": {
    "h": 256.957,
    "s": 75.824,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36875,
    "c": 0.19663,
    "h": 284.1
  },
  "luminance": 0.04104
}

Semantic roles & 50–950 ramp

primary
#3D16A0
secondary
#A4C84A
accent
#F235BD
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3D16A0

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

Preview Lab → · Contrast checker → · Palette generator →

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