#3D184D#3D184D

#3D184D is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.1% C 0.099 H 314.2°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#3D184D
RGBrgb(61, 24, 77)
HSLhsl(282, 52%, 20%)
HSVhsv(282, 69%, 30%)
CMYKcmyk(20.8%, 68.8%, 0%, 69.8%)
CIE-LABlab(16.41, 28.06, -25.19)
CIE-LCHlch(16.41, 37.71, 318.09°)
OKLaboklab(29.15% 0.0688 -0.0707)
OKLCHoklch(29.15% 0.099 314.2)
XYZxyz(3.5904, 2.1813, 7.2516)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D184D #284D18
analogous
#23184D #3D184D #4D1843
triadic
#3D184D #4D3D18 #184D3D
tetradic
#3D184D #4D2318 #284D18 #18434D
square
#3D184D #4D2318 #284D18 #18434D
split-complementary
#3D184D #434D18 #184D23
monochromatic
#120717 #18091E #3D184D #62277C #8735AA

Accessibility & contrast

On white

14.62
#3D184D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3D184D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D184D
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D184D#FFFFFF#000000##FFFFFF
##3D184D1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05274F
Deuteranopia (green-blind)
#162A4C
Tritanopia (blue-blind)
#3C2230
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d184d;
/* rgb */ color: rgb(61, 24, 77);
/* oklch */ color: oklch(29.1% 0.099 314.2);
Tailwind
colors: {
  custom: {
    50: '#74577f',
    500: '#3d184d',
    950: '#000000',
  },
}
SCSS
$custom: #3d184d;
$custom-light: #74577f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d184d",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 77
  },
  "hsl": {
    "h": 281.887,
    "s": 52.475,
    "l": 19.804
  },
  "oklch": {
    "l": 0.2915,
    "c": 0.09864,
    "h": 314.2
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#3D184D
secondary
#52843D
accent
#DC4C77
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D184D

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

Preview Lab → · Contrast checker → · Palette generator →

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