#3B0C40#3B0C40

#3B0C40 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.3% C 0.102 H 323.7°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#3B0C40
RGBrgb(59, 12, 64)
HSLhsl(294, 68%, 15%)
HSVhsv(294, 81%, 25%)
CMYKcmyk(7.8%, 81.2%, 0%, 74.9%)
CIE-LABlab(13.00, 30.51, -21.62)
CIE-LCHlch(13.00, 37.39, 324.68°)
OKLaboklab(26.33% 0.0821 -0.0603)
OKLCHoklch(26.33% 0.102 323.7)
XYZxyz(2.8604, 1.5631, 5.0005)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0C40 #11400C
analogous
#210C40 #3B0C40 #400C2B
triadic
#3B0C40 #403B0C #0C403B
tetradic
#3B0C40 #40210C #11400C #0C2B40
square
#3B0C40 #40210C #11400C #0C2B40
split-complementary
#3B0C40 #2B400C #0C4021
monochromatic
#18051A #18051A #3B0C40 #6B1674 #9A1FA7

Accessibility & contrast

On white

16.00
#3B0C40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3B0C40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0C40
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0C40#FFFFFF#000000##FFFFFF
##3B0C401.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E41
Deuteranopia (green-blind)
#15233F
Tritanopia (blue-blind)
#3C1525
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3b0c40;
/* rgb */ color: rgb(59, 12, 64);
/* oklch */ color: oklch(26.3% 0.102 323.7);
Tailwind
colors: {
  custom: {
    50: '#735075',
    500: '#3b0c40',
    950: '#000000',
  },
}
SCSS
$custom: #3b0c40;
$custom-light: #735075;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0c40",
  "rgb": {
    "r": 59,
    "g": 12,
    "b": 64
  },
  "hsl": {
    "h": 294.231,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.26334,
    "c": 0.10187,
    "h": 323.7
  },
  "luminance": 0.01563
}

Semantic roles & 50–950 ramp

primary
#3B0C40
secondary
#337C2C
accent
#EB3D4D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3B0C40

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

Preview Lab → · Contrast checker → · Palette generator →

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