#3B0834#3B0834

#3B0834 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.1% C 0.096 H 334.4°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#3B0834
RGBrgb(59, 8, 52)
HSLhsl(308, 76%, 13%)
HSVhsv(308, 86%, 23%)
CMYKcmyk(0%, 86.4%, 11.9%, 76.9%)
CIE-LABlab(11.63, 29.80, -15.20)
CIE-LCHlch(11.63, 33.45, 332.98°)
OKLaboklab(25.1% 0.0867 -0.0416)
OKLCHoklch(25.1% 0.096 334.4)
XYZxyz(2.5103, 1.3516, 3.3768)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0834 #083B0F
analogous
#28083B #3B0834 #3B081A
triadic
#3B0834 #343B08 #08343B
tetradic
#3B0834 #3B2808 #083B0F #081A3B
square
#3B0834 #3B2808 #083B0F #081A3B
split-complementary
#3B0834 #1A3B08 #083B28
monochromatic
#1B0418 #1B0418 #3B0834 #710F63 #A71793

Accessibility & contrast

On white

16.53
#3B0834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0834
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0834#FFFFFF#000000##FFFFFF
##3B08341.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071A35
Deuteranopia (green-blind)
#1A2133
Tritanopia (blue-blind)
#3E0D1D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3b0834;
/* rgb */ color: rgb(59, 8, 52);
/* oklch */ color: oklch(25.1% 0.096 334.4);
Tailwind
colors: {
  custom: {
    50: '#734e6b',
    500: '#3b0834',
    950: '#000000',
  },
}
SCSS
$custom: #3b0834;
$custom-light: #734e6b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0834",
  "rgb": {
    "r": 59,
    "g": 8,
    "b": 52
  },
  "hsl": {
    "h": 308.235,
    "s": 76.119,
    "l": 13.137
  },
  "oklch": {
    "l": 0.25095,
    "c": 0.09614,
    "h": 334.4
  },
  "luminance": 0.01351
}

Semantic roles & 50–950 ramp

primary
#3B0834
secondary
#257A31
accent
#F34F35
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #3B0834

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

Preview Lab → · Contrast checker → · Palette generator →

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