#3B1237#3B1237

#3B1237 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.5% C 0.084 H 331.6°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#3B1237
RGBrgb(59, 18, 55)
HSLhsl(306, 53%, 15%)
HSVhsv(306, 69%, 23%)
CMYKcmyk(0%, 69.5%, 6.8%, 76.9%)
CIE-LABlab(13.46, 25.75, -14.49)
CIE-LCHlch(13.46, 29.54, 330.63°)
OKLaboklab(26.48% 0.0735 -0.0397)
OKLCHoklch(26.48% 0.084 331.6)
XYZxyz(2.7095, 1.6384, 3.7872)
Luminance0.0164 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1237 #123B16
analogous
#2B123B #3B1237 #3B1222
triadic
#3B1237 #373B12 #12373B
tetradic
#3B1237 #3B2B12 #123B16 #12223B
square
#3B1237 #3B2B12 #123B16 #12223B
split-complementary
#3B1237 #223B12 #123B2B
monochromatic
#170716 #170716 #3B1237 #6A2063 #992F8E

Accessibility & contrast

On white

15.82
#3B1237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3B1237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1237
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1237#FFFFFF#000000##FFFFFF
##3B12371.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101F38
Deuteranopia (green-blind)
#1D2536
Tritanopia (blue-blind)
#3E1622
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3b1237;
/* rgb */ color: rgb(59, 18, 55);
/* oklch */ color: oklch(26.5% 0.084 331.6);
Tailwind
colors: {
  custom: {
    50: '#73536e',
    500: '#3b1237',
    950: '#000000',
  },
}
SCSS
$custom: #3b1237;
$custom-light: #73536e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1237",
  "rgb": {
    "r": 59,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 305.854,
    "s": 53.247,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26479,
    "c": 0.08354,
    "h": 331.6
  },
  "luminance": 0.01638
}

Semantic roles & 50–950 ramp

primary
#3B1237
secondary
#35743B
accent
#DD594B
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3B1237

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

Preview Lab → · Contrast checker → · Palette generator →

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