#3D1143#3D1143

#3D1143 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.099 H 322.7°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#3D1143
RGBrgb(61, 17, 67)
HSLhsl(293, 60%, 16%)
HSVhsv(293, 75%, 26%)
CMYKcmyk(9%, 74.6%, 0%, 73.7%)
CIE-LABlab(14.39, 29.40, -21.49)
CIE-LCHlch(14.39, 36.42, 323.83°)
OKLaboklab(27.47% 0.0786 -0.0599)
OKLCHoklch(27.47% 0.099 322.7)
XYZxyz(3.1379, 1.7984, 5.4909)
Luminance0.0180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1143 #174311
analogous
#241143 #3D1143 #431130
triadic
#3D1143 #433D11 #11433D
tetradic
#3D1143 #432411 #174311 #113043
square
#3D1143 #432411 #174311 #113043
split-complementary
#3D1143 #304311 #114324
monochromatic
#160618 #160618 #3D1143 #691D74 #962AA5

Accessibility & contrast

On white

15.45
#3D1143 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3D1143 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1143
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1143#FFFFFF#000000##FFFFFF
##3D11431.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#052144
Deuteranopia (green-blind)
#182642
Tritanopia (blue-blind)
#3E1928
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3d1143;
/* rgb */ color: rgb(61, 17, 67);
/* oklch */ color: oklch(27.5% 0.099 322.7);
Tailwind
colors: {
  custom: {
    50: '#755377',
    500: '#3d1143',
    950: '#000000',
  },
}
SCSS
$custom: #3d1143;
$custom-light: #755377;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1143",
  "rgb": {
    "r": 61,
    "g": 17,
    "b": 67
  },
  "hsl": {
    "h": 292.8,
    "s": 59.524,
    "l": 16.471
  },
  "oklch": {
    "l": 0.27469,
    "c": 0.09877,
    "h": 322.7
  },
  "luminance": 0.01798
}

Semantic roles & 50–950 ramp

primary
#3D1143
secondary
#3C7D33
accent
#E34558
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3D1143

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

Preview Lab → · Contrast checker → · Palette generator →

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