#3D154D#3D154D

#3D154D is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.7% C 0.104 H 314.8°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#3D154D
RGBrgb(61, 21, 77)
HSLhsl(283, 57%, 19%)
HSVhsv(283, 73%, 30%)
CMYKcmyk(20.8%, 72.7%, 0%, 69.8%)
CIE-LABlab(15.82, 29.69, -26.13)
CIE-LCHlch(15.82, 39.55, 318.65°)
OKLaboklab(28.72% 0.0729 -0.0735)
OKLCHoklch(28.72% 0.104 314.8)
XYZxyz(3.5320, 2.0644, 7.2322)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D154D #254D15
analogous
#21154D #3D154D #4D1541
triadic
#3D154D #4D3D15 #154D3D
tetradic
#3D154D #4D2115 #254D15 #15414D
square
#3D154D #4D2115 #254D15 #15414D
split-complementary
#3D154D #414D15 #154D21
monochromatic
#130718 #17081D #3D154D #63227D #892FAD

Accessibility & contrast

On white

14.86
#3D154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3D154D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D154D
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D154D#FFFFFF#000000##FFFFFF
##3D154D1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00254F
Deuteranopia (green-blind)
#13284C
Tritanopia (blue-blind)
#3C202F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3d154d;
/* rgb */ color: rgb(61, 21, 77);
/* oklch */ color: oklch(28.7% 0.104 314.8);
Tailwind
colors: {
  custom: {
    50: '#75567f',
    500: '#3d154d',
    950: '#000000',
  },
}
SCSS
$custom: #3d154d;
$custom-light: #75567f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d154d",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 282.857,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.28724,
    "c": 0.10351,
    "h": 314.8
  },
  "luminance": 0.02064
}

Semantic roles & 50–950 ramp

primary
#3D154D
secondary
#4F8539
accent
#E04773
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D154D

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

Preview Lab → · Contrast checker → · Palette generator →

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