#3B104F#3B104F

#3B104F is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.112 H 312.6°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#3B104F
RGBrgb(59, 16, 79)
HSLhsl(281, 66%, 19%)
HSVhsv(281, 80%, 31%)
CMYKcmyk(25.3%, 79.7%, 0%, 69%)
CIE-LABlab(14.76, 32.15, -29.22)
CIE-LCHlch(14.76, 43.45, 317.73°)
OKLaboklab(27.95% 0.0759 -0.0826)
OKLCHoklch(27.95% 0.112 312.6)
XYZxyz(3.4000, 1.8650, 7.5765)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B104F #244F10
analogous
#1B104F #3B104F #4F1043
triadic
#3B104F #4F3B10 #104F3B
tetradic
#3B104F #4F1B10 #244F10 #10434F
square
#3B104F #4F1B10 #244F10 #10434F
split-complementary
#3B104F #434F10 #104F1B
monochromatic
#130519 #15061C #3B104F #611A82 #8725B5

Accessibility & contrast

On white

15.29
#3B104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3B104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B104F
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B104F#FFFFFF#000000##FFFFFF
##3B104F1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#09264E
Tritanopia (blue-blind)
#391E2E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b104f;
/* rgb */ color: rgb(59, 16, 79);
/* oklch */ color: oklch(27.9% 0.112 312.6);
Tailwind
colors: {
  custom: {
    50: '#745381',
    500: '#3b104f',
    950: '#000000',
  },
}
SCSS
$custom: #3b104f;
$custom-light: #745381;
$custom-dark: #000000;
JSON
{
  "hex": "#3b104f",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 280.952,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27947,
    "c": 0.11216,
    "h": 312.6
  },
  "luminance": 0.01865
}

Semantic roles & 50–950 ramp

primary
#3B104F
secondary
#4E8932
accent
#E93F75
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3B104F

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

Preview Lab → · Contrast checker → · Palette generator →

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