#3D104B#3D104B

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

Color values

HEX#3D104B
RGBrgb(61, 16, 75)
HSLhsl(286, 65%, 18%)
HSVhsv(286, 79%, 29%)
CMYKcmyk(18.7%, 78.7%, 0%, 70.6%)
CIE-LABlab(14.79, 31.68, -26.41)
CIE-LCHlch(14.79, 41.24, 320.19°)
OKLaboklab(27.94% 0.0794 -0.0742)
OKLCHoklch(27.94% 0.109 316.9)
XYZxyz(3.3796, 1.8708, 6.8383)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D104B #1E4B10
analogous
#20104B #3D104B #4B103B
triadic
#3D104B #4B3D10 #104B3D
tetradic
#3D104B #4B2010 #1E4B10 #103B4B
square
#3D104B #4B2010 #1E4B10 #103B4B
split-complementary
#3D104B #3B4B10 #104B20
monochromatic
#150519 #150519 #3D104B #661B7D #8F26B0

Accessibility & contrast

On white

15.28
#3D104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D104B
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D104B#FFFFFF#000000##FFFFFF
##3D104B1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#11274A
Tritanopia (blue-blind)
#3C1C2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3d104b;
/* rgb */ color: rgb(61, 16, 75);
/* oklch */ color: oklch(27.9% 0.109 316.9);
Tailwind
colors: {
  custom: {
    50: '#75537e',
    500: '#3d104b',
    950: '#000000',
  },
}
SCSS
$custom: #3d104b;
$custom-light: #75537e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d104b",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 285.763,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27941,
    "c": 0.10869,
    "h": 316.9
  },
  "luminance": 0.01871
}

Semantic roles & 50–950 ramp

primary
#3D104B
secondary
#468532
accent
#E84068
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3D104B

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

Preview Lab → · Contrast checker → · Palette generator →

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