#3D16B4#3D16B4

#3D16B4 is a dark, highly saturated violet. Relative luminance 0.049; OKLCH L 39.1% C 0.218 H 280.6°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#3D16B4
RGBrgb(61, 22, 180)
HSLhsl(255, 78%, 40%)
HSVhsv(255, 88%, 71%)
CMYKcmyk(66.1%, 87.8%, 0%, 29.4%)
CIE-LABlab(26.33, 57.04, -74.38)
CIE-LCHlch(26.33, 93.73, 307.48°)
OKLaboklab(39.13% 0.0402 -0.2146)
OKLCHoklch(39.13% 0.218 280.6)
XYZxyz(10.4470, 4.8604, 43.5588)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D16B4 #8DB416
analogous
#163EB4 #3D16B4 #8C16B4
triadic
#3D16B4 #B43D16 #16B43D
tetradic
#3D16B4 #B4163E #8DB416 #16B48C
square
#3D16B4 #B4163E #8DB416 #16B48C
split-complementary
#3D16B4 #B48C16 #3EB416
monochromatic
#180947 #2B0F7D #3D16B4 #5323E4 #7D5AEB

Accessibility & contrast

On white

10.65
#3D16B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3D16B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D16B4
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D16B4#FFFFFF#000000##FFFFFF
##3D16B41.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0038B1
Tritanopia (blue-blind)
#004B6A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3d16b4;
/* rgb */ color: rgb(61, 22, 180);
/* oklch */ color: oklch(39.1% 0.218 280.6);
Tailwind
colors: {
  custom: {
    50: '#845dcc',
    500: '#3d16b4',
    950: '#000000',
  },
}
SCSS
$custom: #3d16b4;
$custom-light: #845dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d16b4",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 180
  },
  "hsl": {
    "h": 254.81,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39131,
    "c": 0.21835,
    "h": 280.6
  },
  "luminance": 0.04861
}

Semantic roles & 50–950 ramp

primary
#3D16B4
secondary
#B1CE58
accent
#F533C5
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0D0514
muted
#7D7982

Preview Lab

Preview with #3D16B4

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

Preview Lab → · Contrast checker → · Palette generator →

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