#3B0841#3B0841

#3B0841 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.108 H 323.2°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#3B0841
RGBrgb(59, 8, 65)
HSLhsl(294, 78%, 14%)
HSVhsv(294, 88%, 25%)
CMYKcmyk(9.2%, 87.7%, 0%, 74.5%)
CIE-LABlab(12.51, 32.33, -23.11)
CIE-LCHlch(12.51, 39.74, 324.45°)
OKLaboklab(26.01% 0.0865 -0.0646)
OKLCHoklch(26.01% 0.108 323.2)
XYZxyz(2.8445, 1.4853, 5.1369)
Luminance0.0149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0841 #0E4108
analogous
#1F0841 #3B0841 #41082B
triadic
#3B0841 #413B08 #08413B
tetradic
#3B0841 #411F08 #0E4108 #082B41
square
#3B0841 #411F08 #0E4108 #082B41
split-complementary
#3B0841 #2B4108 #08411F
monochromatic
#19031B #19031B #3B0841 #6C0F77 #9E15AE

Accessibility & contrast

On white

16.19
#3B0841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3B0841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0841
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0841#FFFFFF#000000##FFFFFF
##3B08411.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D43
Deuteranopia (green-blind)
#122240
Tritanopia (blue-blind)
#3C1324
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3b0841;
/* rgb */ color: rgb(59, 8, 65);
/* oklch */ color: oklch(26.0% 0.108 323.2);
Tailwind
colors: {
  custom: {
    50: '#734f76',
    500: '#3b0841',
    950: '#000000',
  },
}
SCSS
$custom: #3b0841;
$custom-light: #734f76;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0841",
  "rgb": {
    "r": 59,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 293.684,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26009,
    "c": 0.10791,
    "h": 323.2
  },
  "luminance": 0.01485
}

Semantic roles & 50–950 ramp

primary
#3B0841
secondary
#2F7F25
accent
#F53348
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3B0841

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

Preview Lab → · Contrast checker → · Palette generator →

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