#3E104D#3E104D

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

Color values

HEX#3E104D
RGBrgb(62, 16, 77)
HSLhsl(285, 66%, 18%)
HSVhsv(285, 79%, 30%)
CMYKcmyk(19.5%, 79.2%, 0%, 69.8%)
CIE-LABlab(15.12, 32.39, -27.25)
CIE-LCHlch(15.12, 42.33, 319.92°)
OKLaboklab(28.26% 0.0806 -0.0767)
OKLCHoklch(28.26% 0.111 316.4)
XYZxyz(3.5112, 1.9307, 7.2074)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E104D #1F4D10
analogous
#1F104D #3E104D #4D103D
triadic
#3E104D #4D3E10 #104D3E
tetradic
#3E104D #4D1F10 #1F4D10 #103D4D
square
#3E104D #4D1F10 #1F4D10 #103D4D
split-complementary
#3E104D #3D4D10 #104D1F
monochromatic
#140519 #15051A #3E104D #671B80 #9025B2

Accessibility & contrast

On white

15.15
#3E104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3E104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E104D
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E104D#FFFFFF#000000##FFFFFF
##3E104D1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#10274C
Tritanopia (blue-blind)
#3D1D2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e104d;
/* rgb */ color: rgb(62, 16, 77);
/* oklch */ color: oklch(28.3% 0.111 316.4);
Tailwind
colors: {
  custom: {
    50: '#76537f',
    500: '#3e104d',
    950: '#000000',
  },
}
SCSS
$custom: #3e104d;
$custom-light: #76537f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e104d",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 285.246,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.28256,
    "c": 0.11125,
    "h": 316.4
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#3E104D
secondary
#478732
accent
#E93F69
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E104D

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

Preview Lab → · Contrast checker → · Palette generator →

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