#3D104E#3D104E

#3D104E is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.112 H 314.9°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#3D104E
RGBrgb(61, 16, 78)
HSLhsl(284, 66%, 18%)
HSVhsv(284, 79%, 31%)
CMYKcmyk(21.8%, 79.5%, 0%, 69.4%)
CIE-LABlab(15.02, 32.38, -28.10)
CIE-LCHlch(15.02, 42.87, 319.05°)
OKLaboklab(28.18% 0.079 -0.0792)
OKLCHoklch(28.18% 0.112 314.9)
XYZxyz(3.4847, 1.9129, 7.3919)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D104E #214E10
analogous
#1E104E #3D104E #4E1040
triadic
#3D104E #4E3D10 #104E3D
tetradic
#3D104E #4E1E10 #214E10 #10404E
square
#3D104E #4E1E10 #214E10 #10404E
split-complementary
#3D104E #404E10 #104E1E
monochromatic
#140519 #15061B #3D104E #651A81 #8C25B4

Accessibility & contrast

On white

15.19
#3D104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3D104E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D104E
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D104E#FFFFFF#000000##FFFFFF
##3D104E1.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#0E274D
Tritanopia (blue-blind)
#3C1D2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d104e;
/* rgb */ color: rgb(61, 16, 78);
/* oklch */ color: oklch(28.2% 0.112 314.9);
Tailwind
colors: {
  custom: {
    50: '#755380',
    500: '#3d104e',
    950: '#000000',
  },
}
SCSS
$custom: #3d104e;
$custom-light: #755380;
$custom-dark: #000000;
JSON
{
  "hex": "#3d104e",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 283.548,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28177,
    "c": 0.11189,
    "h": 314.9
  },
  "luminance": 0.01913
}

Semantic roles & 50–950 ramp

primary
#3D104E
secondary
#4A8832
accent
#E93F6E
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3D104E

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

Preview Lab → · Contrast checker → · Palette generator →

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