#3B0237#3B0237

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

Color values

HEX#3B0237
RGBrgb(59, 2, 55)
HSLhsl(304, 93%, 12%)
HSVhsv(304, 97%, 23%)
CMYKcmyk(0%, 96.6%, 6.8%, 76.9%)
CIE-LABlab(10.92, 32.97, -18.50)
CIE-LCHlch(10.92, 37.81, 330.70°)
OKLaboklab(24.65% 0.0945 -0.0511)
OKLCHoklch(24.65% 0.107 331.6)
XYZxyz(2.5149, 1.2493, 3.7224)
Luminance0.0125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0237 #023B06
analogous
#23023B #3B0237 #3B021B
triadic
#3B0237 #373B02 #02373B
tetradic
#3B0237 #3B2302 #023B06 #021B3B
square
#3B0237 #3B2302 #023B06 #021B3B
split-complementary
#3B0237 #1B3B02 #023B23
monochromatic
#1E011C #1E011C #3B0237 #76046E #B106A5

Accessibility & contrast

On white

16.80
#3B0237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0237
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0237#FFFFFF#000000##FFFFFF
##3B02371.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#162036
Tritanopia (blue-blind)
#3E091D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3b0237;
/* rgb */ color: rgb(59, 2, 55);
/* oklch */ color: oklch(24.6% 0.107 331.6);
Tailwind
colors: {
  custom: {
    50: '#744b6e',
    500: '#3b0237',
    950: '#000000',
  },
}
SCSS
$custom: #3b0237;
$custom-light: #744b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0237",
  "rgb": {
    "r": 59,
    "g": 2,
    "b": 55
  },
  "hsl": {
    "h": 304.211,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24647,
    "c": 0.10739,
    "h": 331.6
  },
  "luminance": 0.01249
}

Semantic roles & 50–950 ramp

primary
#3B0237
secondary
#1A7E21
accent
#FF3829
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080107
muted
#7B777A

Preview Lab

Preview with #3B0237

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

Preview Lab → · Contrast checker → · Palette generator →

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