#3B0334#3B0334

#3B0334 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.6% C 0.103 H 334.2°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#3B0334
RGBrgb(59, 3, 52)
HSLhsl(308, 90%, 12%)
HSVhsv(308, 95%, 23%)
CMYKcmyk(0%, 94.9%, 11.9%, 76.9%)
CIE-LABlab(10.87, 32.00, -16.39)
CIE-LCHlch(10.87, 35.95, 332.87°)
OKLaboklab(24.55% 0.0932 -0.045)
OKLCHoklch(24.55% 0.103 334.2)
XYZxyz(2.4561, 1.2431, 3.3587)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0334 #033B0A
analogous
#26033B #3B0334 #3B0318
triadic
#3B0334 #343B03 #03343B
tetradic
#3B0334 #3B2603 #033B0A #03183B
square
#3B0334 #3B2603 #033B0A #03183B
split-complementary
#3B0334 #183B03 #033B26
monochromatic
#1D011A #1D011A #3B0334 #750667 #AF099B

Accessibility & contrast

On white

16.82
#3B0334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#3B0334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0334
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0334#FFFFFF#000000##FFFFFF
##3B03341.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021835
Deuteranopia (green-blind)
#182033
Tritanopia (blue-blind)
#3E081B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3b0334;
/* rgb */ color: rgb(59, 3, 52);
/* oklch */ color: oklch(24.6% 0.103 334.2);
Tailwind
colors: {
  custom: {
    50: '#744c6b',
    500: '#3b0334',
    950: '#000000',
  },
}
SCSS
$custom: #3b0334;
$custom-light: #744c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0334",
  "rgb": {
    "r": 59,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 307.5,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.24551,
    "c": 0.10345,
    "h": 334.2
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#3B0334
secondary
#1C7E28
accent
#FF4429
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3B0334

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

Preview Lab → · Contrast checker → · Palette generator →

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