#3B0D4F#3B0D4F

#3B0D4F is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.116 H 313.0°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#3B0D4F
RGBrgb(59, 13, 79)
HSLhsl(282, 72%, 18%)
HSVhsv(282, 84%, 31%)
CMYKcmyk(25.3%, 83.5%, 0%, 69%)
CIE-LABlab(14.30, 33.47, -29.97)
CIE-LCHlch(14.30, 44.93, 318.16°)
OKLaboklab(27.62% 0.0792 -0.0847)
OKLCHoklch(27.62% 0.116 313)
XYZxyz(3.3586, 1.7823, 7.5627)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B0D4F #214F0D
analogous
#1A0D4F #3B0D4F #4F0D42
triadic
#3B0D4F #4F3B0D #0D4F3B
tetradic
#3B0D4F #4F1A0D #214F0D #0D424F
square
#3B0D4F #4F1A0D #214F0D #0D424F
split-complementary
#3B0D4F #424F0D #0D4F1A
monochromatic
#14041A #14041A #3B0D4F #621684 #891EB8

Accessibility & contrast

On white

15.48
#3B0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3B0D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B0D4F
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B0D4F#FFFFFF#000000##FFFFFF
##3B0D4F1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#06254E
Tritanopia (blue-blind)
#391C2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3b0d4f;
/* rgb */ color: rgb(59, 13, 79);
/* oklch */ color: oklch(27.6% 0.116 313.0);
Tailwind
colors: {
  custom: {
    50: '#745281',
    500: '#3b0d4f',
    950: '#000000',
  },
}
SCSS
$custom: #3b0d4f;
$custom-light: #745281;
$custom-dark: #000000;
JSON
{
  "hex": "#3b0d4f",
  "rgb": {
    "r": 59,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 281.818,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2762,
    "c": 0.11596,
    "h": 313
  },
  "luminance": 0.01782
}

Semantic roles & 50–950 ramp

primary
#3B0D4F
secondary
#4A8A2E
accent
#EE3970
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B0D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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