#3D113A#3D113A

#3D113A is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.090 H 330.5°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#3D113A
RGBrgb(61, 17, 58)
HSLhsl(304, 56%, 15%)
HSVhsv(304, 72%, 24%)
CMYKcmyk(0%, 72.1%, 4.9%, 76.1%)
CIE-LABlab(13.82, 27.50, -16.04)
CIE-LCHlch(13.82, 31.84, 329.74°)
OKLaboklab(26.87% 0.0781 -0.0441)
OKLCHoklch(26.87% 0.09 330.5)
XYZxyz(2.8886, 1.6987, 4.1779)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D113A #113D14
analogous
#2A113D #3D113A #3D1124
triadic
#3D113A #3A3D11 #113A3D
tetradic
#3D113A #3D2A11 #113D14 #11243D
square
#3D113A #3D2A11 #113D14 #11243D
split-complementary
#3D113A #243D11 #113D2A
monochromatic
#180717 #180717 #3D113A #6D1E68 #9D2C95

Accessibility & contrast

On white

15.68
#3D113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3D113A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D113A
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D113A#FFFFFF#000000##FFFFFF
##3D113A1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1F3B
Deuteranopia (green-blind)
#1D2539
Tritanopia (blue-blind)
#401623
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3d113a;
/* rgb */ color: rgb(61, 17, 58);
/* oklch */ color: oklch(26.9% 0.090 330.5);
Tailwind
colors: {
  custom: {
    50: '#745370',
    500: '#3d113a',
    950: '#000000',
  },
}
SCSS
$custom: #3d113a;
$custom-light: #745370;
$custom-dark: #000000;
JSON
{
  "hex": "#3d113a",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 304.091,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2687,
    "c": 0.08965,
    "h": 330.5
  },
  "luminance": 0.01698
}

Semantic roles & 50–950 ramp

primary
#3D113A
secondary
#337638
accent
#E05248
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3D113A

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

Preview Lab → · Contrast checker → · Palette generator →

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