#3D184F#3D184F

#3D184F is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.3% C 0.101 H 312.9°. Best body text is #FFFFFF at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#3D184F
RGBrgb(61, 24, 79)
HSLhsl(280, 53%, 20%)
HSVhsv(280, 70%, 31%)
CMYKcmyk(22.8%, 69.6%, 0%, 69%)
CIE-LABlab(16.55, 28.56, -26.33)
CIE-LCHlch(16.55, 38.84, 317.33°)
OKLaboklab(29.3% 0.0687 -0.0741)
OKLCHoklch(29.3% 0.101 312.9)
XYZxyz(3.6621, 2.2100, 7.6293)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D184F #2A4F18
analogous
#22184F #3D184F #4F1845
triadic
#3D184F #4F3D18 #184F3D
tetradic
#3D184F #4F2218 #2A4F18 #18454F
square
#3D184F #4F2218 #2A4F18 #18454F
split-complementary
#3D184F #454F18 #184F22
monochromatic
#120717 #190A20 #3D184F #61267E #8535AD

Accessibility & contrast

On white

14.56
#3D184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D184F
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D184F#FFFFFF#000000##FFFFFF
##3D184F1.0014.561.4414.56
#FFFFFF14.561.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#022751
Deuteranopia (green-blind)
#142A4E
Tritanopia (blue-blind)
#3B2231
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3d184f;
/* rgb */ color: rgb(61, 24, 79);
/* oklch */ color: oklch(29.3% 0.101 312.9);
Tailwind
colors: {
  custom: {
    50: '#755881',
    500: '#3d184f',
    950: '#000000',
  },
}
SCSS
$custom: #3d184f;
$custom-light: #755881;
$custom-dark: #000000;
JSON
{
  "hex": "#3d184f",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 280.364,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29298,
    "c": 0.10102,
    "h": 312.9
  },
  "luminance": 0.0221
}

Semantic roles & 50–950 ramp

primary
#3D184F
secondary
#55863D
accent
#DD4B7B
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D184F

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

Preview Lab → · Contrast checker → · Palette generator →

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