#3D153E#3D153E

#3D153E is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.7% C 0.087 H 326.7°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#3D153E
RGBrgb(61, 21, 62)
HSLhsl(299, 49%, 16%)
HSVhsv(299, 66%, 24%)
CMYKcmyk(1.6%, 66.1%, 0%, 75.7%)
CIE-LABlab(14.82, 26.23, -17.30)
CIE-LCHlch(14.82, 31.42, 326.60°)
OKLaboklab(27.68% 0.0725 -0.0477)
OKLCHoklch(27.68% 0.087 326.7)
XYZxyz(3.0621, 1.8764, 4.7574)
Luminance0.0188 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D153E #163E15
analogous
#29153E #3D153E #3E152B
triadic
#3D153E #3E3D15 #153E3D
tetradic
#3D153E #3E2915 #163E15 #152B3E
square
#3D153E #3E2915 #163E15 #152B3E
split-complementary
#3D153E #2B3E15 #153E29
monochromatic
#160817 #160817 #3D153E #6A246C #973499

Accessibility & contrast

On white

15.27
#3D153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3D153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D153E
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D153E#FFFFFF#000000##FFFFFF
##3D153E1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10223F
Deuteranopia (green-blind)
#1D273D
Tritanopia (blue-blind)
#3F1A27
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d153e;
/* rgb */ color: rgb(61, 21, 62);
/* oklch */ color: oklch(27.7% 0.087 326.7);
Tailwind
colors: {
  custom: {
    50: '#745573',
    500: '#3d153e',
    950: '#000000',
  },
}
SCSS
$custom: #3d153e;
$custom-light: #745573;
$custom-dark: #000000;
JSON
{
  "hex": "#3d153e",
  "rgb": {
    "r": 61,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 298.537,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.2768,
    "c": 0.08683,
    "h": 326.7
  },
  "luminance": 0.01876
}

Semantic roles & 50–950 ramp

primary
#3D153E
secondary
#3B7639
accent
#D94F52
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3D153E

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

Preview Lab → · Contrast checker → · Palette generator →

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