#3D1237#3D1237

#3D1237 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.8% C 0.085 H 333.5°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#3D1237
RGBrgb(61, 18, 55)
HSLhsl(308, 54%, 15%)
HSVhsv(308, 70%, 24%)
CMYKcmyk(0%, 70.5%, 9.8%, 76.1%)
CIE-LABlab(13.83, 26.39, -13.88)
CIE-LCHlch(13.83, 29.82, 332.25°)
OKLaboklab(26.82% 0.0762 -0.0379)
OKLCHoklch(26.82% 0.085 333.5)
XYZxyz(2.8304, 1.7008, 3.7929)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1237 #123D18
analogous
#2D123D #3D1237 #3D1221
triadic
#3D1237 #373D12 #12373D
tetradic
#3D1237 #3D2D12 #123D18 #12213D
square
#3D1237 #3D2D12 #123D18 #12213D
split-complementary
#3D1237 #213D12 #123D2D
monochromatic
#180715 #180715 #3D1237 #6C2062 #9C2E8C

Accessibility & contrast

On white

15.67
#3D1237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1237
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1237#FFFFFF#000000##FFFFFF
##3D12371.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111F38
Deuteranopia (green-blind)
#1F2636
Tritanopia (blue-blind)
#401522
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3d1237;
/* rgb */ color: rgb(61, 18, 55);
/* oklch */ color: oklch(26.8% 0.085 333.5);
Tailwind
colors: {
  custom: {
    50: '#74536e',
    500: '#3d1237',
    950: '#000000',
  },
}
SCSS
$custom: #3d1237;
$custom-light: #74536e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1237",
  "rgb": {
    "r": 61,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 308.372,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26822,
    "c": 0.08507,
    "h": 333.5
  },
  "luminance": 0.01701
}

Semantic roles & 50–950 ramp

primary
#3D1237
secondary
#35763E
accent
#DE5F4A
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3D1237

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

Preview Lab → · Contrast checker → · Palette generator →

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