#3D165A#3D165A

#3D165A is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.9% C 0.117 H 306.8°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#3D165A
RGBrgb(61, 22, 90)
HSLhsl(274, 61%, 22%)
HSVhsv(274, 76%, 35%)
CMYKcmyk(32.2%, 75.6%, 0%, 64.7%)
CIE-LABlab(17.01, 32.45, -33.03)
CIE-LCHlch(17.01, 46.30, 314.50°)
OKLaboklab(29.89% 0.0702 -0.0937)
OKLCHoklch(29.89% 0.117 306.8)
XYZxyz(4.0564, 2.3042, 9.9019)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D165A #335A16
analogous
#1B165A #3D165A #5A1655
triadic
#3D165A #5A3D16 #165A3D
tetradic
#3D165A #5A1B16 #335A16 #16555A
square
#3D165A #5A1B16 #335A16 #16555A
split-complementary
#3D165A #555A16 #165A1B
monochromatic
#110619 #1C0A29 #3D165A #5E228B #802EBC

Accessibility & contrast

On white

14.38
#3D165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D165A
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D165A#FFFFFF#000000##FFFFFF
##3D165A1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#022A59
Tritanopia (blue-blind)
#382536
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3d165a;
/* rgb */ color: rgb(61, 22, 90);
/* oklch */ color: oklch(29.9% 0.117 306.8);
Tailwind
colors: {
  custom: {
    50: '#765789',
    500: '#3d165a',
    950: '#000000',
  },
}
SCSS
$custom: #3d165a;
$custom-light: #765789;
$custom-dark: #000000;
JSON
{
  "hex": "#3d165a",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 274.412,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29892,
    "c": 0.11709,
    "h": 306.8
  },
  "luminance": 0.02304
}

Semantic roles & 50–950 ramp

primary
#3D165A
secondary
#60913B
accent
#E44488
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3D165A

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

Preview Lab → · Contrast checker → · Palette generator →

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