#3D169E#3D169E

#3D169E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.7% C 0.194 H 284.5°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#3D169E
RGBrgb(61, 22, 158)
HSLhsl(257, 76%, 35%)
HSVhsv(257, 86%, 62%)
CMYKcmyk(61.4%, 86.1%, 0%, 38%)
CIE-LABlab(23.78, 51.07, -65.31)
CIE-LCHlch(23.78, 82.91, 308.02°)
OKLaboklab(36.65% 0.0486 -0.1882)
OKLCHoklch(36.65% 0.194 284.5)
XYZxyz(8.3810, 4.0340, 32.6781)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D169E #779E16
analogous
#16339E #3D169E #81169E
triadic
#3D169E #9E3D16 #169E3D
tetradic
#3D169E #9E1633 #779E16 #169E81
square
#3D169E #9E1633 #779E16 #169E81
split-complementary
#3D169E #9E8116 #339E16
monochromatic
#140733 #280F68 #3D169E #521DD4 #7649E6

Accessibility & contrast

On white

11.62
#3D169E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3D169E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D169E
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D169E#FFFFFF#000000##FFFFFF
##3D169E1.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d169e;
/* rgb */ color: rgb(61, 22, 158);
/* oklch */ color: oklch(36.7% 0.194 284.5);
Tailwind
colors: {
  custom: {
    50: '#805bbc',
    500: '#3d169e',
    950: '#000000',
  },
}
SCSS
$custom: #3d169e;
$custom-light: #805bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d169e",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 158
  },
  "hsl": {
    "h": 257.206,
    "s": 75.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36653,
    "c": 0.19443,
    "h": 284.5
  },
  "luminance": 0.04035
}

Semantic roles & 50–950 ramp

primary
#3D169E
secondary
#A3C749
accent
#F236BC
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0412
muted
#7D7981

Preview Lab

Preview with #3D169E

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

Preview Lab → · Contrast checker → · Palette generator →

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