#3B104A#3B104A

#3B104A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.5% C 0.107 H 315.9°. Best body text is #FFFFFF at 15.45:1 contrast (WCAG AA passes).

Color values

HEX#3B104A
RGBrgb(59, 16, 74)
HSLhsl(284, 64%, 18%)
HSVhsv(284, 78%, 29%)
CMYKcmyk(20.3%, 78.4%, 0%, 71%)
CIE-LABlab(14.37, 30.95, -26.41)
CIE-LCHlch(14.37, 40.69, 319.53°)
OKLaboklab(27.55% 0.0766 -0.0743)
OKLCHoklch(27.55% 0.107 315.9)
XYZxyz(3.2248, 1.7949, 6.6538)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B104A #1F4A10
analogous
#1E104A #3B104A #4A103C
triadic
#3B104A #4A3B10 #104A3B
tetradic
#3B104A #4A1E10 #1F4A10 #103C4A
square
#3B104A #4A1E10 #1F4A10 #103C4A
split-complementary
#3B104A #3C4A10 #104A1E
monochromatic
#140519 #140519 #3B104A #631B7C #8B26AF

Accessibility & contrast

On white

15.45
#3B104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B104A
15.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B104A#FFFFFF#000000##FFFFFF
##3B104A1.0015.451.3615.45
#FFFFFF15.451.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#0F2649
Tritanopia (blue-blind)
#3A1C2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3b104a;
/* rgb */ color: rgb(59, 16, 74);
/* oklch */ color: oklch(27.5% 0.107 315.9);
Tailwind
colors: {
  custom: {
    50: '#73537d',
    500: '#3b104a',
    950: '#000000',
  },
}
SCSS
$custom: #3b104a;
$custom-light: #73537d;
$custom-dark: #000000;
JSON
{
  "hex": "#3b104a",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 284.483,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27545,
    "c": 0.10672,
    "h": 315.9
  },
  "luminance": 0.01795
}

Semantic roles & 50–950 ramp

primary
#3B104A
secondary
#478432
accent
#E7406C
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3B104A

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

Preview Lab → · Contrast checker → · Palette generator →

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