#3B0A3D#3B0A3D

#3B0A3D is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.102 H 326.3°. Best body text is #FFFFFF at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#3B0A3D
RGBrgb(59, 10, 61)
HSLhsl(298, 72%, 14%)
HSVhsv(298, 84%, 24%)
CMYKcmyk(3.3%, 83.6%, 0%, 76.1%)
CIE-LABlab(12.51, 30.71, -20.28)
CIE-LCHlch(12.51, 36.80, 326.56°)
OKLaboklab(25.91% 0.0845 -0.0563)
OKLCHoklch(25.91% 0.102 326.3)
XYZxyz(2.7544, 1.4840, 4.5553)
Luminance0.0148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0A3D #0C3D0A
analogous
#220A3D #3B0A3D #3D0A26
triadic
#3B0A3D #3D3B0A #0A3D3B
tetradic
#3B0A3D #3D220A #0C3D0A #0A263D
square
#3B0A3D #3D220A #0C3D0A #0A263D
split-complementary
#3B0A3D #263D0A #0A3D22
monochromatic
#19041A #19041A #3B0A3D #6E1372 #A11BA6

Accessibility & contrast

On white

16.19
#3B0A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3B0A3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0A3D
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0A3D#FFFFFF#000000##FFFFFF
##3B0A3D1.0016.191.3016.19
#FFFFFF16.191.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011D3E
Deuteranopia (green-blind)
#16233C
Tritanopia (blue-blind)
#3D1323
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3b0a3d;
/* rgb */ color: rgb(59, 10, 61);
/* oklch */ color: oklch(25.9% 0.102 326.3);
Tailwind
colors: {
  custom: {
    50: '#734f73',
    500: '#3b0a3d',
    950: '#000000',
  },
}
SCSS
$custom: #3b0a3d;
$custom-light: #734f73;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0a3d",
  "rgb": {
    "r": 59,
    "g": 10,
    "b": 61
  },
  "hsl": {
    "h": 297.647,
    "s": 71.831,
    "l": 13.922
  },
  "oklch": {
    "l": 0.25911,
    "c": 0.10158,
    "h": 326.3
  },
  "luminance": 0.01484
}

Semantic roles & 50–950 ramp

primary
#3B0A3D
secondary
#2C7A28
accent
#EF3940
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #3B0A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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