#3B104D#3B104D

#3B104D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.110 H 313.9°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#3B104D
RGBrgb(59, 16, 77)
HSLhsl(282, 66%, 18%)
HSVhsv(282, 79%, 30%)
CMYKcmyk(23.4%, 79.2%, 0%, 69.8%)
CIE-LABlab(14.60, 31.67, -28.11)
CIE-LCHlch(14.60, 42.34, 318.41°)
OKLaboklab(27.78% 0.0762 -0.0793)
OKLCHoklch(27.78% 0.11 313.9)
XYZxyz(3.3282, 1.8363, 7.1989)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B104D #224D10
analogous
#1C104D #3B104D #4D1040
triadic
#3B104D #4D3B10 #104D3B
tetradic
#3B104D #4D1C10 #224D10 #10404D
square
#3B104D #4D1C10 #224D10 #10404D
split-complementary
#3B104D #404D10 #104D1C
monochromatic
#130519 #14051A #3B104D #621B80 #8925B2

Accessibility & contrast

On white

15.36
#3B104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B104D
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B104D#FFFFFF#000000##FFFFFF
##3B104D1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#0C264C
Tritanopia (blue-blind)
#391D2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b104d;
/* rgb */ color: rgb(59, 16, 77);
/* oklch */ color: oklch(27.8% 0.110 313.9);
Tailwind
colors: {
  custom: {
    50: '#74537f',
    500: '#3b104d',
    950: '#000000',
  },
}
SCSS
$custom: #3b104d;
$custom-light: #74537f;
$custom-dark: #000000;
JSON
{
  "hex": "#3b104d",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 282.295,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27784,
    "c": 0.10998,
    "h": 313.9
  },
  "luminance": 0.01836
}

Semantic roles & 50–950 ramp

primary
#3B104D
secondary
#4B8732
accent
#E93F71
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B104D

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

Preview Lab → · Contrast checker → · Palette generator →

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