#3D183E#3D183E

#3D183E is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.1% C 0.081 H 326.5°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#3D183E
RGBrgb(61, 24, 62)
HSLhsl(298, 44%, 17%)
HSVhsv(298, 61%, 24%)
CMYKcmyk(1.6%, 61.3%, 0%, 75.7%)
CIE-LABlab(15.45, 24.53, -16.31)
CIE-LCHlch(15.45, 29.46, 326.38°)
OKLaboklab(28.14% 0.0678 -0.0449)
OKLCHoklch(28.14% 0.081 326.5)
XYZxyz(3.1205, 1.9933, 4.7769)
Luminance0.0199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D183E #193E18
analogous
#2A183E #3D183E #3E182C
triadic
#3D183E #3E3D18 #183E3D
tetradic
#3D183E #3E2A18 #193E18 #182C3E
square
#3D183E #3E2A18 #193E18 #182C3E
split-complementary
#3D183E #2C3E18 #183E2A
monochromatic
#160916 #160916 #3D183E #68296A #943A96

Accessibility & contrast

On white

15.02
#3D183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D183E
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D183E#FFFFFF#000000##FFFFFF
##3D183E1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14243F
Deuteranopia (green-blind)
#1F283D
Tritanopia (blue-blind)
#3F1D28
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d183e;
/* rgb */ color: rgb(61, 24, 62);
/* oklch */ color: oklch(28.1% 0.081 326.5);
Tailwind
colors: {
  custom: {
    50: '#745773',
    500: '#3d183e',
    950: '#000000',
  },
}
SCSS
$custom: #3d183e;
$custom-light: #745773;
$custom-dark: #000000;
JSON
{
  "hex": "#3d183e",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 298.421,
    "s": 44.186,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2814,
    "c": 0.08131,
    "h": 326.5
  },
  "luminance": 0.01993
}

Semantic roles & 50–950 ramp

primary
#3D183E
secondary
#3F743D
accent
#D45457
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3D183E

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

Preview Lab → · Contrast checker → · Palette generator →

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