#3D167D#3D167D

#3D167D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.158 H 292.7°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#3D167D
RGBrgb(61, 22, 125)
HSLhsl(263, 70%, 29%)
HSVhsv(263, 82%, 49%)
CMYKcmyk(51.2%, 82.4%, 0%, 51%)
CIE-LABlab(20.23, 41.95, -50.61)
CIE-LCHlch(20.23, 65.73, 309.66°)
OKLaboklab(33.15% 0.0609 -0.1453)
OKLCHoklch(33.15% 0.158 292.7)
XYZxyz(5.9120, 3.0464, 19.6746)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D167D #567D16
analogous
#16237D #3D167D #71167D
triadic
#3D167D #7D3D16 #167D3D
tetradic
#3D167D #7D1623 #567D16 #167D71
square
#3D167D #7D1623 #567D16 #167D71
split-complementary
#3D167D #7D7116 #237D16
monochromatic
#0D051A #240D49 #3D167D #561FB1 #7232DB

Accessibility & contrast

On white

13.05
#3D167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3D167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D167D
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D167D#FFFFFF#000000##FFFFFF
##3D167D1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#28344A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d167d;
/* rgb */ color: rgb(61, 22, 125);
/* oklch */ color: oklch(33.1% 0.158 292.7);
Tailwind
colors: {
  custom: {
    50: '#7a59a4',
    500: '#3d167d',
    950: '#000000',
  },
}
SCSS
$custom: #3d167d;
$custom-light: #7a59a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d167d",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 262.718,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33149,
    "c": 0.15755,
    "h": 292.7
  },
  "luminance": 0.03047
}

Semantic roles & 50–950 ramp

primary
#3D167D
secondary
#86B23D
accent
#ED3BA9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D167D

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

Preview Lab → · Contrast checker → · Palette generator →

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