#3B0837#3B0837

#3B0837 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.3% C 0.099 H 331.6°. Best body text is #FFFFFF at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#3B0837
RGBrgb(59, 8, 55)
HSLhsl(305, 76%, 13%)
HSVhsv(305, 86%, 23%)
CMYKcmyk(0%, 86.4%, 6.8%, 76.9%)
CIE-LABlab(11.82, 30.35, -17.07)
CIE-LCHlch(11.82, 34.82, 330.65°)
OKLaboklab(25.29% 0.0868 -0.047)
OKLCHoklch(25.29% 0.099 331.6)
XYZxyz(2.5801, 1.3795, 3.7441)
Luminance0.0138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0837 #083B0C
analogous
#25083B #3B0837 #3B081D
triadic
#3B0837 #373B08 #08373B
tetradic
#3B0837 #3B2508 #083B0C #081D3B
square
#3B0837 #3B2508 #083B0C #081D3B
split-complementary
#3B0837 #1D3B08 #083B25
monochromatic
#1B0419 #1B0419 #3B0837 #710F69 #A7179B

Accessibility & contrast

On white

16.46
#3B0837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#3B0837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0837
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0837#FFFFFF#000000##FFFFFF
##3B08371.0016.461.2816.46
#FFFFFF16.461.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051B38
Deuteranopia (green-blind)
#192236
Tritanopia (blue-blind)
#3E0E1F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3b0837;
/* rgb */ color: rgb(59, 8, 55);
/* oklch */ color: oklch(25.3% 0.099 331.6);
Tailwind
colors: {
  custom: {
    50: '#734e6e',
    500: '#3b0837',
    950: '#000000',
  },
}
SCSS
$custom: #3b0837;
$custom-light: #734e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0837",
  "rgb": {
    "r": 59,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 304.706,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25291,
    "c": 0.09874,
    "h": 331.6
  },
  "luminance": 0.01379
}

Semantic roles & 50–950 ramp

primary
#3B0837
secondary
#257A2C
accent
#F34435
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3B0837

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

Preview Lab → · Contrast checker → · Palette generator →

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