#3B0233#3B0233

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

Color values

HEX#3B0233
RGBrgb(59, 2, 51)
HSLhsl(308, 93%, 12%)
HSVhsv(308, 97%, 23%)
CMYKcmyk(0%, 96.6%, 13.6%, 76.9%)
CIE-LABlab(10.65, 32.29, -16.02)
CIE-LCHlch(10.65, 36.04, 333.62°)
OKLaboklab(24.37% 0.0945 -0.0439)
OKLCHoklch(24.37% 0.104 335.1)
XYZxyz(2.4229, 1.2125, 3.2378)
Luminance0.0121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0233 #023B0A
analogous
#27023B #3B0233 #3B0217
triadic
#3B0233 #333B02 #02333B
tetradic
#3B0233 #3B2702 #023B0A #02173B
square
#3B0233 #3B2702 #023B0A #02173B
split-complementary
#3B0233 #173B02 #023B27
monochromatic
#1E011A #1E011A #3B0233 #760466 #B10699

Accessibility & contrast

On white

16.90
#3B0233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B0233
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0233#FFFFFF#000000##FFFFFF
##3B02331.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021734
Deuteranopia (green-blind)
#182032
Tritanopia (blue-blind)
#3F071B
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #3b0233;
/* rgb */ color: rgb(59, 2, 51);
/* oklch */ color: oklch(24.4% 0.104 335.1);
Tailwind
colors: {
  custom: {
    50: '#744b6b',
    500: '#3b0233',
    950: '#000000',
  },
}
SCSS
$custom: #3b0233;
$custom-light: #744b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0233",
  "rgb": {
    "r": 59,
    "g": 2,
    "b": 51
  },
  "hsl": {
    "h": 308.421,
    "s": 93.443,
    "l": 11.961
  },
  "oklch": {
    "l": 0.24372,
    "c": 0.1042,
    "h": 335.1
  },
  "luminance": 0.01212
}

Semantic roles & 50–950 ramp

primary
#3B0233
secondary
#1A7E28
accent
#FF4729
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080106
muted
#7B777A

Preview Lab

Preview with #3B0233

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

Preview Lab → · Contrast checker → · Palette generator →

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