#3B0337#3B0337

#3B0337 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.106 H 331.6°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#3B0337
RGBrgb(59, 3, 55)
HSLhsl(304, 90%, 12%)
HSVhsv(304, 95%, 23%)
CMYKcmyk(0%, 94.9%, 6.8%, 76.9%)
CIE-LABlab(11.07, 32.52, -18.26)
CIE-LCHlch(11.07, 37.30, 330.69°)
OKLaboklab(24.76% 0.0931 -0.0504)
OKLCHoklch(24.76% 0.106 331.6)
XYZxyz(2.5258, 1.2710, 3.7260)
Luminance0.0127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0337 #033B07
analogous
#23033B #3B0337 #3B031B
triadic
#3B0337 #373B03 #03373B
tetradic
#3B0337 #3B2303 #033B07 #031B3B
square
#3B0337 #3B2303 #033B07 #031B3B
split-complementary
#3B0337 #1B3B03 #033B23
monochromatic
#1D011B #1D011B #3B0337 #75066D #AF09A4

Accessibility & contrast

On white

16.74
#3B0337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0337
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0337#FFFFFF#000000##FFFFFF
##3B03371.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001938
Deuteranopia (green-blind)
#162036
Tritanopia (blue-blind)
#3E0A1D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3b0337;
/* rgb */ color: rgb(59, 3, 55);
/* oklch */ color: oklch(24.8% 0.106 331.6);
Tailwind
colors: {
  custom: {
    50: '#744c6e',
    500: '#3b0337',
    950: '#000000',
  },
}
SCSS
$custom: #3b0337;
$custom-light: #744c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0337",
  "rgb": {
    "r": 59,
    "g": 3,
    "b": 55
  },
  "hsl": {
    "h": 304.286,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.24757,
    "c": 0.10589,
    "h": 331.6
  },
  "luminance": 0.01271
}

Semantic roles & 50–950 ramp

primary
#3B0337
secondary
#1C7E23
accent
#FF3829
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080107
muted
#7B777A

Preview Lab

Preview with #3B0337

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

Preview Lab → · Contrast checker → · Palette generator →

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