#3D104D#3D104D

#3D104D is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.111 H 315.6°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#3D104D
RGBrgb(61, 16, 77)
HSLhsl(284, 66%, 18%)
HSVhsv(284, 79%, 30%)
CMYKcmyk(20.8%, 79.2%, 0%, 69.8%)
CIE-LABlab(14.95, 32.15, -27.54)
CIE-LCHlch(14.95, 42.33, 319.42°)
OKLaboklab(28.1% 0.0792 -0.0775)
OKLCHoklch(28.1% 0.111 315.6)
XYZxyz(3.4491, 1.8986, 7.2045)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D104D #204D10
analogous
#1E104D #3D104D #4D103E
triadic
#3D104D #4D3D10 #104D3D
tetradic
#3D104D #4D1E10 #204D10 #103E4D
square
#3D104D #4D1E10 #204D10 #103E4D
split-complementary
#3D104D #3E4D10 #104D1E
monochromatic
#140519 #15051A #3D104D #651B80 #8D25B2

Accessibility & contrast

On white

15.22
#3D104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D104D
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D104D#FFFFFF#000000##FFFFFF
##3D104D1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#0F274C
Tritanopia (blue-blind)
#3C1D2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3d104d;
/* rgb */ color: rgb(61, 16, 77);
/* oklch */ color: oklch(28.1% 0.111 315.6);
Tailwind
colors: {
  custom: {
    50: '#75537f',
    500: '#3d104d',
    950: '#000000',
  },
}
SCSS
$custom: #3d104d;
$custom-light: #75537f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d104d",
  "rgb": {
    "r": 61,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 284.262,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28098,
    "c": 0.11082,
    "h": 315.6
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#3D104D
secondary
#488732
accent
#E93F6C
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3D104D

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

Preview Lab → · Contrast checker → · Palette generator →

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