#3D165B#3D165B

#3D165B is a dark, moderate violet. Relative luminance 0.023; OKLCH L 30.0% C 0.118 H 306.3°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#3D165B
RGBrgb(61, 22, 91)
HSLhsl(274, 61%, 22%)
HSVhsv(274, 76%, 36%)
CMYKcmyk(33%, 75.8%, 0%, 64.3%)
CIE-LABlab(17.09, 32.71, -33.57)
CIE-LCHlch(17.09, 46.87, 314.26°)
OKLaboklab(29.98% 0.07 -0.0953)
OKLCHoklch(29.98% 0.118 306.3)
XYZxyz(4.0993, 2.3213, 10.1276)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D165B #345B16
analogous
#1B165B #3D165B #5B1657
triadic
#3D165B #5B3D16 #165B3D
tetradic
#3D165B #5B1B16 #345B16 #16575B
square
#3D165B #5B1B16 #345B16 #16575B
split-complementary
#3D165B #575B16 #165B1B
monochromatic
#110619 #1C0A2A #3D165B #5E228C #7F2EBE

Accessibility & contrast

On white

14.34
#3D165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3D165B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D165B
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D165B#FFFFFF#000000##FFFFFF
##3D165B1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295D
Deuteranopia (green-blind)
#012A5A
Tritanopia (blue-blind)
#382637
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d165b;
/* rgb */ color: rgb(61, 22, 91);
/* oklch */ color: oklch(30.0% 0.118 306.3);
Tailwind
colors: {
  custom: {
    50: '#76578a',
    500: '#3d165b',
    950: '#000000',
  },
}
SCSS
$custom: #3d165b;
$custom-light: #76578a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d165b",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 273.913,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29976,
    "c": 0.11826,
    "h": 306.3
  },
  "luminance": 0.02321
}

Semantic roles & 50–950 ramp

primary
#3D165B
secondary
#61923B
accent
#E44489
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D165B

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

Preview Lab → · Contrast checker → · Palette generator →

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