#3D1243#3D1243

#3D1243 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.097 H 322.6°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#3D1243
RGBrgb(61, 18, 67)
HSLhsl(293, 58%, 17%)
HSVhsv(293, 73%, 26%)
CMYKcmyk(9%, 73.1%, 0%, 73.7%)
CIE-LABlab(14.57, 28.91, -21.21)
CIE-LCHlch(14.57, 35.85, 323.73°)
OKLaboklab(27.6% 0.0772 -0.0591)
OKLCHoklch(27.6% 0.097 322.6)
XYZxyz(3.1538, 1.8301, 5.4962)
Luminance0.0183 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1243 #184312
analogous
#251243 #3D1243 #431231
triadic
#3D1243 #433D12 #12433D
tetradic
#3D1243 #432512 #184312 #123143
square
#3D1243 #432512 #184312 #123143
split-complementary
#3D1243 #314312 #124325
monochromatic
#160618 #160618 #3D1243 #691F73 #952CA3

Accessibility & contrast

On white

15.37
#3D1243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3D1243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1243
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1243#FFFFFF#000000##FFFFFF
##3D12431.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072244
Deuteranopia (green-blind)
#192642
Tritanopia (blue-blind)
#3E1A28
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d1243;
/* rgb */ color: rgb(61, 18, 67);
/* oklch */ color: oklch(27.6% 0.097 322.6);
Tailwind
colors: {
  custom: {
    50: '#745477',
    500: '#3d1243',
    950: '#000000',
  },
}
SCSS
$custom: #3d1243;
$custom-light: #745477;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1243",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 292.653,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27597,
    "c": 0.09721,
    "h": 322.6
  },
  "luminance": 0.0183
}

Semantic roles & 50–950 ramp

primary
#3D1243
secondary
#3D7C35
accent
#E1475A
background
#F7F4F7
surface
#EDE8ED
border
#C8C4C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3D1243

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

Preview Lab → · Contrast checker → · Palette generator →

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