#3B0937#3B0937

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

Color values

HEX#3B0937
RGBrgb(59, 9, 55)
HSLhsl(305, 74%, 13%)
HSVhsv(305, 85%, 23%)
CMYKcmyk(0%, 84.7%, 6.8%, 76.9%)
CIE-LABlab(11.97, 29.94, -16.84)
CIE-LCHlch(11.97, 34.35, 330.64°)
OKLaboklab(25.4% 0.0856 -0.0464)
OKLCHoklch(25.4% 0.097 331.6)
XYZxyz(2.5909, 1.4012, 3.7477)
Luminance0.0140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0937 #093B0D
analogous
#26093B #3B0937 #3B091E
triadic
#3B0937 #373B09 #09373B
tetradic
#3B0937 #3B2609 #093B0D #091E3B
square
#3B0937 #3B2609 #093B0D #091E3B
split-complementary
#3B0937 #1E3B09 #093B26
monochromatic
#1B0419 #1B0419 #3B0937 #701168 #A5199A

Accessibility & contrast

On white

16.40
#3B0937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0937
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0937#FFFFFF#000000##FFFFFF
##3B09371.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b0937;
/* rgb */ color: rgb(59, 9, 55);
/* oklch */ color: oklch(25.4% 0.097 331.6);
Tailwind
colors: {
  custom: {
    50: '#734f6e',
    500: '#3b0937',
    950: '#000000',
  },
}
SCSS
$custom: #3b0937;
$custom-light: #734f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0937",
  "rgb": {
    "r": 59,
    "g": 9,
    "b": 55
  },
  "hsl": {
    "h": 304.8,
    "s": 73.529,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25395,
    "c": 0.09737,
    "h": 331.6
  },
  "luminance": 0.01401
}

Semantic roles & 50–950 ramp

primary
#3B0937
secondary
#27792D
accent
#F04638
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3B0937

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

Preview Lab → · Contrast checker → · Palette generator →

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