#3B0239#3B0239

#3B0239 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.109 H 329.9°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#3B0239
RGBrgb(59, 2, 57)
HSLhsl(302, 93%, 12%)
HSVhsv(302, 97%, 23%)
CMYKcmyk(0%, 96.6%, 3.4%, 76.9%)
CIE-LABlab(11.06, 33.33, -19.73)
CIE-LCHlch(11.06, 38.73, 329.38°)
OKLaboklab(24.79% 0.0943 -0.0547)
OKLCHoklch(24.79% 0.109 329.9)
XYZxyz(2.5638, 1.2688, 3.9800)
Luminance0.0127 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0239 #023B04
analogous
#21023B #3B0239 #3B021D
triadic
#3B0239 #393B02 #02393B
tetradic
#3B0239 #3B2102 #023B04 #021D3B
square
#3B0239 #3B2102 #023B04 #021D3B
split-complementary
#3B0239 #1D3B02 #023B21
monochromatic
#1E011D #1E011D #3B0239 #760472 #B106AB

Accessibility & contrast

On white

16.75
#3B0239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0239
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0239#FFFFFF#000000##FFFFFF
##3B02391.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193A
Deuteranopia (green-blind)
#152038
Tritanopia (blue-blind)
#3E0A1E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #3b0239;
/* rgb */ color: rgb(59, 2, 57);
/* oklch */ color: oklch(24.8% 0.109 329.9);
Tailwind
colors: {
  custom: {
    50: '#744b6f',
    500: '#3b0239',
    950: '#000000',
  },
}
SCSS
$custom: #3b0239;
$custom-light: #744b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0239",
  "rgb": {
    "r": 59,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 302.105,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24791,
    "c": 0.10902,
    "h": 329.9
  },
  "luminance": 0.01269
}

Semantic roles & 50–950 ramp

primary
#3B0239
secondary
#1A7E1E
accent
#FF3029
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #3B0239

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

Preview Lab → · Contrast checker → · Palette generator →

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