#3B183E#3B183E

#3B183E is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.080 H 324.4°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#3B183E
RGBrgb(59, 24, 62)
HSLhsl(295, 44%, 17%)
HSVhsv(295, 61%, 24%)
CMYKcmyk(4.8%, 61.3%, 0%, 75.7%)
CIE-LABlab(15.12, 23.87, -16.85)
CIE-LCHlch(15.12, 29.22, 324.77°)
OKLaboklab(27.83% 0.0649 -0.0465)
OKLCHoklch(27.83% 0.08 324.4)
XYZxyz(2.9997, 1.9310, 4.7712)
Luminance0.0193 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B183E #1B3E18
analogous
#28183E #3B183E #3E182E
triadic
#3B183E #3E3B18 #183E3B
tetradic
#3B183E #3E2818 #1B3E18 #182E3E
square
#3B183E #3E2818 #1B3E18 #182E3E
split-complementary
#3B183E #2E3E18 #183E28
monochromatic
#150916 #150916 #3B183E #65296A #8F3A96

Accessibility & contrast

On white

15.15
#3B183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3B183E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B183E
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B183E#FFFFFF#000000##FFFFFF
##3B183E1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13233F
Deuteranopia (green-blind)
#1E273D
Tritanopia (blue-blind)
#3C1D28
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3b183e;
/* rgb */ color: rgb(59, 24, 62);
/* oklch */ color: oklch(27.8% 0.080 324.4);
Tailwind
colors: {
  custom: {
    50: '#725773',
    500: '#3b183e',
    950: '#000000',
  },
}
SCSS
$custom: #3b183e;
$custom-light: #725773;
$custom-dark: #000000;
JSON
{
  "hex": "#3b183e",
  "rgb": {
    "r": 59,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 295.263,
    "s": 44.186,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27827,
    "c": 0.0799,
    "h": 324.4
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#3B183E
secondary
#42743D
accent
#D4545E
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3B183E

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

Preview Lab → · Contrast checker → · Palette generator →

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