#3B0835#3B0835

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

Color values

HEX#3B0835
RGBrgb(59, 8, 53)
HSLhsl(307, 76%, 13%)
HSVhsv(307, 86%, 23%)
CMYKcmyk(0%, 86.4%, 10.2%, 76.9%)
CIE-LABlab(11.69, 29.98, -15.82)
CIE-LCHlch(11.69, 33.90, 332.18°)
OKLaboklab(25.16% 0.0867 -0.0434)
OKLCHoklch(25.16% 0.097 333.4)
XYZxyz(2.5331, 1.3607, 3.4967)
Luminance0.0136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0835 #083B0E
analogous
#27083B #3B0835 #3B081B
triadic
#3B0835 #353B08 #08353B
tetradic
#3B0835 #3B2708 #083B0E #081B3B
square
#3B0835 #3B2708 #083B0E #081B3B
split-complementary
#3B0835 #1B3B08 #083B27
monochromatic
#1B0418 #1B0418 #3B0835 #710F65 #A71796

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B0835#FFFFFF#000000##FFFFFF
##3B08351.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)
#061A36
Deuteranopia (green-blind)
#1A2134
Tritanopia (blue-blind)
#3E0D1E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3b0835;
/* rgb */ color: rgb(59, 8, 53);
/* oklch */ color: oklch(25.2% 0.097 333.4);
Tailwind
colors: {
  custom: {
    50: '#734e6c',
    500: '#3b0835',
    950: '#000000',
  },
}
SCSS
$custom: #3b0835;
$custom-light: #734e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0835",
  "rgb": {
    "r": 59,
    "g": 8,
    "b": 53
  },
  "hsl": {
    "h": 307.059,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25159,
    "c": 0.097,
    "h": 333.4
  },
  "luminance": 0.01361
}

Semantic roles & 50–950 ramp

primary
#3B0835
secondary
#257A2F
accent
#F34B35
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3B0835

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

Preview Lab → · Contrast checker → · Palette generator →

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