#3B0236#3B0236

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

Color values

HEX#3B0236
RGBrgb(59, 2, 54)
HSLhsl(305, 93%, 12%)
HSVhsv(305, 97%, 23%)
CMYKcmyk(0%, 96.6%, 8.5%, 76.9%)
CIE-LABlab(10.85, 32.80, -17.89)
CIE-LCHlch(10.85, 37.36, 331.39°)
OKLaboklab(24.58% 0.0945 -0.0493)
OKLCHoklch(24.58% 0.107 332.4)
XYZxyz(2.4912, 1.2398, 3.5974)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0236 #023B07
analogous
#24023B #3B0236 #3B021A
triadic
#3B0236 #363B02 #02363B
tetradic
#3B0236 #3B2402 #023B07 #021A3B
square
#3B0236 #3B2402 #023B07 #021A3B
split-complementary
#3B0236 #1A3B02 #023B24
monochromatic
#1E011B #1E011B #3B0236 #76046C #B106A2

Accessibility & contrast

On white

16.83
#3B0236 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0236
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0236#FFFFFF#000000##FFFFFF
##3B02361.0016.831.2516.83
#FFFFFF16.831.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001837
Deuteranopia (green-blind)
#162035
Tritanopia (blue-blind)
#3E091C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3b0236;
/* rgb */ color: rgb(59, 2, 54);
/* oklch */ color: oklch(24.6% 0.107 332.4);
Tailwind
colors: {
  custom: {
    50: '#744b6d',
    500: '#3b0236',
    950: '#000000',
  },
}
SCSS
$custom: #3b0236;
$custom-light: #744b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0236",
  "rgb": {
    "r": 59,
    "g": 2,
    "b": 54
  },
  "hsl": {
    "h": 305.263,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24577,
    "c": 0.10659,
    "h": 332.4
  },
  "luminance": 0.0124
}

Semantic roles & 50–950 ramp

primary
#3B0236
secondary
#1A7E23
accent
#FF3C29
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080107
muted
#7B777A

Preview Lab

Preview with #3B0236

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

Preview Lab → · Contrast checker → · Palette generator →

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