#3D183A#3D183A

#3D183A is a dark, moderate purple. Relative luminance 0.020; OKLCH L 27.9% C 0.077 H 330.6°. Best body text is #FFFFFF at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#3D183A
RGBrgb(61, 24, 58)
HSLhsl(305, 44%, 17%)
HSVhsv(305, 61%, 24%)
CMYKcmyk(0%, 60.7%, 4.9%, 76.1%)
CIE-LABlab(15.23, 23.67, -13.84)
CIE-LCHlch(15.23, 27.42, 329.68°)
OKLaboklab(27.9% 0.0671 -0.0378)
OKLCHoklch(27.9% 0.077 330.6)
XYZxyz(3.0148, 1.9510, 4.2200)
Luminance0.0195 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D183A #183D1B
analogous
#2E183D #3D183A #3D1828
triadic
#3D183A #3A3D18 #183A3D
tetradic
#3D183A #3D2E18 #183D1B #18283D
square
#3D183A #3D2E18 #183D1B #18283D
split-complementary
#3D183A #283D18 #183D2E
monochromatic
#160915 #160915 #3D183A #692964 #953B8E

Accessibility & contrast

On white

15.11
#3D183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3D183A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D183A
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D183A#FFFFFF#000000##FFFFFF
##3D183A1.0015.111.3915.11
#FFFFFF15.111.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16233B
Deuteranopia (green-blind)
#212839
Tritanopia (blue-blind)
#3F1B26
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d183a;
/* rgb */ color: rgb(61, 24, 58);
/* oklch */ color: oklch(27.9% 0.077 330.6);
Tailwind
colors: {
  custom: {
    50: '#745770',
    500: '#3d183a',
    950: '#000000',
  },
}
SCSS
$custom: #3d183a;
$custom-light: #745770;
$custom-dark: #000000;
JSON
{
  "hex": "#3d183a",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 304.865,
    "s": 43.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27902,
    "c": 0.077,
    "h": 330.6
  },
  "luminance": 0.01951
}

Semantic roles & 50–950 ramp

primary
#3D183A
secondary
#3D7342
accent
#D35F55
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#080307
muted
#7B787A

Preview Lab

Preview with #3D183A

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

Preview Lab → · Contrast checker → · Palette generator →

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