#3B0336#3B0336

#3B0336 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.105 H 332.4°. Best body text is #FFFFFF at 16.77:1 contrast (WCAG AA passes).

Color values

HEX#3B0336
RGBrgb(59, 3, 54)
HSLhsl(305, 90%, 12%)
HSVhsv(305, 95%, 23%)
CMYKcmyk(0%, 94.9%, 8.5%, 76.9%)
CIE-LABlab(11.00, 32.34, -17.64)
CIE-LCHlch(11.00, 36.84, 331.39°)
OKLaboklab(24.69% 0.0932 -0.0486)
OKLCHoklch(24.69% 0.105 332.4)
XYZxyz(2.5021, 1.2615, 3.6010)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0336 #033B08
analogous
#24033B #3B0336 #3B031A
triadic
#3B0336 #363B03 #03363B
tetradic
#3B0336 #3B2403 #033B08 #031A3B
square
#3B0336 #3B2403 #033B08 #031A3B
split-complementary
#3B0336 #1A3B03 #033B24
monochromatic
#1D011B #1D011B #3B0336 #75066B #AF09A1

Accessibility & contrast

On white

16.77
#3B0336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#3B0336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0336
16.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0336#FFFFFF#000000##FFFFFF
##3B03361.0016.771.2516.77
#FFFFFF16.771.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#172035
Tritanopia (blue-blind)
#3E091D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3b0336;
/* rgb */ color: rgb(59, 3, 54);
/* oklch */ color: oklch(24.7% 0.105 332.4);
Tailwind
colors: {
  custom: {
    50: '#744c6d',
    500: '#3b0336',
    950: '#000000',
  },
}
SCSS
$custom: #3b0336;
$custom-light: #744c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0336",
  "rgb": {
    "r": 59,
    "g": 3,
    "b": 54
  },
  "hsl": {
    "h": 305.357,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.24688,
    "c": 0.10507,
    "h": 332.4
  },
  "luminance": 0.01261
}

Semantic roles & 50–950 ramp

primary
#3B0336
secondary
#1C7E25
accent
#FF3C29
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080107
muted
#7B777A

Preview Lab

Preview with #3B0336

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

Preview Lab → · Contrast checker → · Palette generator →

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