#3B0C4C#3B0C4C

#3B0C4C is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.3% C 0.114 H 315.1°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#3B0C4C
RGBrgb(59, 12, 76)
HSLhsl(284, 73%, 17%)
HSVhsv(284, 84%, 30%)
CMYKcmyk(22.4%, 84.2%, 0%, 70.2%)
CIE-LABlab(13.91, 33.18, -28.53)
CIE-LCHlch(13.91, 43.76, 319.30°)
OKLaboklab(27.27% 0.0808 -0.0805)
OKLCHoklch(27.27% 0.114 315.1)
XYZxyz(3.2394, 1.7147, 6.9964)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0C4C #1D4C0C
analogous
#1B0C4C #3B0C4C #4C0C3D
triadic
#3B0C4C #4C3B0C #0C4C3B
tetradic
#3B0C4C #4C1B0C #1D4C0C #0C3D4C
square
#3B0C4C #4C1B0C #1D4C0C #0C3D4C
split-complementary
#3B0C4C #3D4C0C #0C4C1B
monochromatic
#15041A #15041A #3B0C4C #641481 #8D1DB6

Accessibility & contrast

On white

15.64
#3B0C4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3B0C4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0C4C
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0C4C#FFFFFF#000000##FFFFFF
##3B0C4C1.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#09254B
Tritanopia (blue-blind)
#3A1B2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3b0c4c;
/* rgb */ color: rgb(59, 12, 76);
/* oklch */ color: oklch(27.3% 0.114 315.1);
Tailwind
colors: {
  custom: {
    50: '#74517e',
    500: '#3b0c4c',
    950: '#000000',
  },
}
SCSS
$custom: #3b0c4c;
$custom-light: #74517e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0c4c",
  "rgb": {
    "r": 59,
    "g": 12,
    "b": 76
  },
  "hsl": {
    "h": 284.063,
    "s": 72.727,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27269,
    "c": 0.11404,
    "h": 315.1
  },
  "luminance": 0.01715
}

Semantic roles & 50–950 ramp

primary
#3B0C4C
secondary
#44882C
accent
#EF3869
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0C4C

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

Preview Lab → · Contrast checker → · Palette generator →

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