#3B0737#3B0737

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

Color values

HEX#3B0737
RGBrgb(59, 7, 55)
HSLhsl(305, 79%, 13%)
HSVhsv(305, 88%, 23%)
CMYKcmyk(0%, 88.1%, 6.8%, 76.9%)
CIE-LABlab(11.67, 30.77, -17.30)
CIE-LCHlch(11.67, 35.30, 330.65°)
OKLaboklab(25.19% 0.0881 -0.0477)
OKLCHoklch(25.19% 0.1 331.6)
XYZxyz(2.5692, 1.3578, 3.7405)
Luminance0.0136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0737 #073B0B
analogous
#25073B #3B0737 #3B071D
triadic
#3B0737 #373B07 #07373B
tetradic
#3B0737 #3B2507 #073B0B #071D3B
square
#3B0737 #3B2507 #073B0B #071D3B
split-complementary
#3B0737 #1D3B07 #073B25
monochromatic
#1B031A #1B031A #3B0737 #720D6A #A8149D

Accessibility & contrast

On white

16.51
#3B0737 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#3B0737 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0737
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0737#FFFFFF#000000##FFFFFF
##3B07371.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041A38
Deuteranopia (green-blind)
#182136
Tritanopia (blue-blind)
#3E0D1E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3b0737;
/* rgb */ color: rgb(59, 7, 55);
/* oklch */ color: oklch(25.2% 0.100 331.6);
Tailwind
colors: {
  custom: {
    50: '#734e6e',
    500: '#3b0737',
    950: '#000000',
  },
}
SCSS
$custom: #3b0737;
$custom-light: #734e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0737",
  "rgb": {
    "r": 59,
    "g": 7,
    "b": 55
  },
  "hsl": {
    "h": 304.615,
    "s": 78.788,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25186,
    "c": 0.10014,
    "h": 331.6
  },
  "luminance": 0.01358
}

Semantic roles & 50–950 ramp

primary
#3B0737
secondary
#237A2A
accent
#F54233
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3B0737

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

Preview Lab → · Contrast checker → · Palette generator →

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