#3D113F#3D113F

#3D113F is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.2% C 0.095 H 326.0°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#3D113F
RGBrgb(61, 17, 63)
HSLhsl(297, 58%, 16%)
HSVhsv(297, 73%, 25%)
CMYKcmyk(3.2%, 73%, 0%, 75.3%)
CIE-LABlab(14.13, 28.54, -19.10)
CIE-LCHlch(14.13, 34.34, 326.21°)
OKLaboklab(27.19% 0.0785 -0.0529)
OKLCHoklch(27.19% 0.095 326)
XYZxyz(3.0221, 1.7521, 4.8807)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D113F #133F11
analogous
#26113F #3D113F #3F112A
triadic
#3D113F #3F3D11 #113F3D
tetradic
#3D113F #3F2611 #133F11 #112A3F
square
#3D113F #3F2611 #133F11 #112A3F
split-complementary
#3D113F #2A3F11 #113F26
monochromatic
#170718 #170718 #3D113F #6C1E6F #9A2B9F

Accessibility & contrast

On white

15.55
#3D113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3D113F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D113F
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D113F#FFFFFF#000000##FFFFFF
##3D113F1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092040
Deuteranopia (green-blind)
#1A263E
Tritanopia (blue-blind)
#3F1826
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d113f;
/* rgb */ color: rgb(61, 17, 63);
/* oklch */ color: oklch(27.2% 0.095 326.0);
Tailwind
colors: {
  custom: {
    50: '#745374',
    500: '#3d113f',
    950: '#000000',
  },
}
SCSS
$custom: #3d113f;
$custom-light: #745374;
$custom-dark: #000000;
JSON
{
  "hex": "#3d113f",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 297.391,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.27194,
    "c": 0.09464,
    "h": 326
  },
  "luminance": 0.01752
}

Semantic roles & 50–950 ramp

primary
#3D113F
secondary
#367833
accent
#E1474E
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3D113F

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

Preview Lab → · Contrast checker → · Palette generator →

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