#3D154A#3D154A

#3D154A is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.5% C 0.100 H 316.9°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#3D154A
RGBrgb(61, 21, 74)
HSLhsl(285, 56%, 19%)
HSVhsv(285, 72%, 29%)
CMYKcmyk(17.6%, 71.6%, 0%, 71%)
CIE-LABlab(15.61, 28.97, -24.41)
CIE-LCHlch(15.61, 37.88, 319.88°)
OKLaboklab(28.5% 0.073 -0.0684)
OKLCHoklch(28.5% 0.1 316.9)
XYZxyz(3.4285, 2.0230, 6.6871)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D154A #224A15
analogous
#22154A #3D154A #4A153C
triadic
#3D154A #4A3D15 #154A3D
tetradic
#3D154A #4A2215 #224A15 #153C4A
square
#3D154A #4A2215 #224A15 #153C4A
split-complementary
#3D154A #3C4A15 #154A22
monochromatic
#140718 #16071A #3D154A #64237A #8C30A9

Accessibility & contrast

On white

14.95
#3D154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3D154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D154A
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D154A#FFFFFF#000000##FFFFFF
##3D154A1.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03244C
Deuteranopia (green-blind)
#162849
Tritanopia (blue-blind)
#3C1F2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d154a;
/* rgb */ color: rgb(61, 21, 74);
/* oklch */ color: oklch(28.5% 0.100 316.9);
Tailwind
colors: {
  custom: {
    50: '#75567d',
    500: '#3d154a',
    950: '#000000',
  },
}
SCSS
$custom: #3d154a;
$custom-light: #75567d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d154a",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 285.283,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.28501,
    "c": 0.10008,
    "h": 316.9
  },
  "luminance": 0.02023
}

Semantic roles & 50–950 ramp

primary
#3D154A
secondary
#4B8239
accent
#DF496E
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3D154A

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

Preview Lab → · Contrast checker → · Palette generator →

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