#3D165D#3D165D

#3D165D is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.1% C 0.121 H 305.3°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#3D165D
RGBrgb(61, 22, 93)
HSLhsl(273, 62%, 23%)
HSVhsv(273, 76%, 36%)
CMYKcmyk(34.4%, 76.3%, 0%, 63.5%)
CIE-LABlab(17.26, 33.24, -34.63)
CIE-LCHlch(17.26, 48.00, 313.82°)
OKLaboklab(30.15% 0.0697 -0.0984)
OKLCHoklch(30.15% 0.121 305.3)
XYZxyz(4.1867, 2.3563, 10.5880)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D165D #365D16
analogous
#1A165D #3D165D #5D1659
triadic
#3D165D #5D3D16 #165D3D
tetradic
#3D165D #5D1A16 #365D16 #16595D
square
#3D165D #5D1A16 #365D16 #16595D
split-complementary
#3D165D #595D16 #165D1A
monochromatic
#100619 #1D0A2C #3D165D #5D228E #7E2DC0

Accessibility & contrast

On white

14.27
#3D165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3D165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D165D
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D165D#FFFFFF#000000##FFFFFF
##3D165D1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#372738
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d165d;
/* rgb */ color: rgb(61, 22, 93);
/* oklch */ color: oklch(30.1% 0.121 305.3);
Tailwind
colors: {
  custom: {
    50: '#76578b',
    500: '#3d165d',
    950: '#000000',
  },
}
SCSS
$custom: #3d165d;
$custom-light: #76578b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d165d",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 272.958,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30146,
    "c": 0.1206,
    "h": 305.3
  },
  "luminance": 0.02356
}

Semantic roles & 50–950 ramp

primary
#3D165D
secondary
#63943B
accent
#E5438C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3D165D

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

Preview Lab → · Contrast checker → · Palette generator →

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