#3B0332#3B0332

#3B0332 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.4% C 0.102 H 336.0°. Best body text is #FFFFFF at 16.87:1 contrast (WCAG AA passes).

Color values

HEX#3B0332
RGBrgb(59, 3, 50)
HSLhsl(310, 90%, 12%)
HSVhsv(310, 95%, 23%)
CMYKcmyk(0%, 94.9%, 15.3%, 76.9%)
CIE-LABlab(10.74, 31.66, -15.13)
CIE-LCHlch(10.74, 35.09, 334.45°)
OKLaboklab(24.42% 0.0931 -0.0414)
OKLCHoklch(24.42% 0.102 336)
XYZxyz(2.4120, 1.2255, 3.1265)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0332 #033B0C
analogous
#28033B #3B0332 #3B0316
triadic
#3B0332 #323B03 #03323B
tetradic
#3B0332 #3B2803 #033B0C #03163B
square
#3B0332 #3B2803 #033B0C #03163B
split-complementary
#3B0332 #163B03 #033B28
monochromatic
#1D0119 #1D0119 #3B0332 #750663 #AF0995

Accessibility & contrast

On white

16.87
#3B0332 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#3B0332 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0332
16.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0332#FFFFFF#000000##FFFFFF
##3B03321.0016.871.2416.87
#FFFFFF16.871.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041833
Deuteranopia (green-blind)
#192031
Tritanopia (blue-blind)
#3F071A
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3b0332;
/* rgb */ color: rgb(59, 3, 50);
/* oklch */ color: oklch(24.4% 0.102 336.0);
Tailwind
colors: {
  custom: {
    50: '#744b6a',
    500: '#3b0332',
    950: '#000000',
  },
}
SCSS
$custom: #3b0332;
$custom-light: #744b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0332",
  "rgb": {
    "r": 59,
    "g": 3,
    "b": 50
  },
  "hsl": {
    "h": 309.643,
    "s": 90.323,
    "l": 12.157
  },
  "oklch": {
    "l": 0.24419,
    "c": 0.10187,
    "h": 336
  },
  "luminance": 0.01225
}

Semantic roles & 50–950 ramp

primary
#3B0332
secondary
#1C7E2C
accent
#FF4B29
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3B0332

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

Preview Lab → · Contrast checker → · Palette generator →

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