#3B104E#3B104E

#3B104E is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.9% C 0.111 H 313.2°. Best body text is #FFFFFF at 15.33:1 contrast (WCAG AA passes).

Color values

HEX#3B104E
RGBrgb(59, 16, 78)
HSLhsl(282, 66%, 18%)
HSVhsv(282, 79%, 31%)
CMYKcmyk(24.4%, 79.5%, 0%, 69.4%)
CIE-LABlab(14.68, 31.91, -28.67)
CIE-LCHlch(14.68, 42.89, 318.06°)
OKLaboklab(27.87% 0.0761 -0.0809)
OKLCHoklch(27.87% 0.111 313.2)
XYZxyz(3.3638, 1.8506, 7.3862)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B104E #234E10
analogous
#1C104E #3B104E #4E1042
triadic
#3B104E #4E3B10 #104E3B
tetradic
#3B104E #4E1C10 #234E10 #10424E
square
#3B104E #4E1C10 #234E10 #10424E
split-complementary
#3B104E #424E10 #104E1C
monochromatic
#130519 #15061B #3B104E #611A81 #8825B4

Accessibility & contrast

On white

15.33
#3B104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B104E
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B104E#FFFFFF#000000##FFFFFF
##3B104E1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#0A264D
Tritanopia (blue-blind)
#391E2E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b104e;
/* rgb */ color: rgb(59, 16, 78);
/* oklch */ color: oklch(27.9% 0.111 313.2);
Tailwind
colors: {
  custom: {
    50: '#745380',
    500: '#3b104e',
    950: '#000000',
  },
}
SCSS
$custom: #3b104e;
$custom-light: #745380;
$custom-dark: #000000;
JSON
{
  "hex": "#3b104e",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 281.613,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27865,
    "c": 0.11108,
    "h": 313.2
  },
  "luminance": 0.0185
}

Semantic roles & 50–950 ramp

primary
#3B104E
secondary
#4C8832
accent
#E93F73
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3B104E

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

Preview Lab → · Contrast checker → · Palette generator →

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