#3D184B#3D184B

#3D184B is a dark, moderate purple. Relative luminance 0.022; OKLCH L 29.0% C 0.096 H 315.6°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#3D184B
RGBrgb(61, 24, 75)
HSLhsl(284, 52%, 19%)
HSVhsv(284, 68%, 29%)
CMYKcmyk(18.7%, 68%, 0%, 70.6%)
CIE-LABlab(16.27, 27.57, -24.04)
CIE-LCHlch(16.27, 36.58, 318.91°)
OKLaboklab(29.01% 0.0688 -0.0674)
OKLCHoklch(29.01% 0.096 315.6)
XYZxyz(3.5209, 2.1535, 6.8854)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D184B #264B18
analogous
#24184B #3D184B #4B1840
triadic
#3D184B #4B3D18 #184B3D
tetradic
#3D184B #4B2418 #264B18 #18404B
square
#3D184B #4B2418 #264B18 #18404B
split-complementary
#3D184B #404B18 #184B24
monochromatic
#130717 #17091D #3D184B #632779 #8836A8

Accessibility & contrast

On white

14.68
#3D184B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3D184B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D184B
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D184B#FFFFFF#000000##FFFFFF
##3D184B1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08264D
Deuteranopia (green-blind)
#18294A
Tritanopia (blue-blind)
#3C212F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3d184b;
/* rgb */ color: rgb(61, 24, 75);
/* oklch */ color: oklch(29.0% 0.096 315.6);
Tailwind
colors: {
  custom: {
    50: '#74577d',
    500: '#3d184b',
    950: '#000000',
  },
}
SCSS
$custom: #3d184b;
$custom-light: #74577d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d184b",
  "rgb": {
    "r": 61,
    "g": 24,
    "b": 75
  },
  "hsl": {
    "h": 283.529,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.29005,
    "c": 0.09626,
    "h": 315.6
  },
  "luminance": 0.02153
}

Semantic roles & 50–950 ramp

primary
#3D184B
secondary
#50823D
accent
#DB4D74
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D184B

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

Preview Lab → · Contrast checker → · Palette generator →

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