#3B104B#3B104B

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

Color values

HEX#3B104B
RGBrgb(59, 16, 75)
HSLhsl(284, 65%, 18%)
HSVhsv(284, 79%, 29%)
CMYKcmyk(21.3%, 78.7%, 0%, 70.6%)
CIE-LABlab(14.45, 31.19, -26.98)
CIE-LCHlch(14.45, 41.24, 319.14°)
OKLaboklab(27.62% 0.0765 -0.076)
OKLCHoklch(27.62% 0.108 315.2)
XYZxyz(3.2587, 1.8085, 6.8327)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B104B #204B10
analogous
#1D104B #3B104B #4B103D
triadic
#3B104B #4B3B10 #104B3B
tetradic
#3B104B #4B1D10 #204B10 #103D4B
square
#3B104B #4B1D10 #204B10 #103D4B
split-complementary
#3B104B #3D4B10 #104B1D
monochromatic
#140519 #140519 #3B104B #631B7D #8A26B0

Accessibility & contrast

On white

15.42
#3B104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B104B
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B104B#FFFFFF#000000##FFFFFF
##3B104B1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#0E264A
Tritanopia (blue-blind)
#3A1C2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3b104b;
/* rgb */ color: rgb(59, 16, 75);
/* oklch */ color: oklch(27.6% 0.108 315.2);
Tailwind
colors: {
  custom: {
    50: '#73537e',
    500: '#3b104b',
    950: '#000000',
  },
}
SCSS
$custom: #3b104b;
$custom-light: #73537e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b104b",
  "rgb": {
    "r": 59,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 283.729,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27624,
    "c": 0.10781,
    "h": 315.2
  },
  "luminance": 0.01808
}

Semantic roles & 50–950 ramp

primary
#3B104B
secondary
#488532
accent
#E8406D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3B104B

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

Preview Lab → · Contrast checker → · Palette generator →

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