#3E104C#3E104C

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

Color values

HEX#3E104C
RGBrgb(62, 16, 76)
HSLhsl(286, 65%, 18%)
HSVhsv(286, 79%, 30%)
CMYKcmyk(18.4%, 78.9%, 0%, 70.2%)
CIE-LABlab(15.04, 32.16, -26.68)
CIE-LCHlch(15.04, 41.79, 320.32°)
OKLaboklab(28.18% 0.0807 -0.075)
OKLCHoklch(28.18% 0.11 317.1)
XYZxyz(3.4762, 1.9167, 7.0229)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E104C #1E4C10
analogous
#20104C #3E104C #4C103C
triadic
#3E104C #4C3E10 #104C3E
tetradic
#3E104C #4C2010 #1E4C10 #103C4C
square
#3E104C #4C2010 #1E4C10 #103C4C
split-complementary
#3E104C #3C4C10 #104C20
monochromatic
#150519 #150519 #3E104C #671B7F #9025B1

Accessibility & contrast

On white

15.18
#3E104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E104C
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E104C#FFFFFF#000000##FFFFFF
##3E104C1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#11274B
Tritanopia (blue-blind)
#3D1C2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3e104c;
/* rgb */ color: rgb(62, 16, 76);
/* oklch */ color: oklch(28.2% 0.110 317.1);
Tailwind
colors: {
  custom: {
    50: '#76537e',
    500: '#3e104c',
    950: '#000000',
  },
}
SCSS
$custom: #3e104c;
$custom-light: #76537e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e104c",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 286,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28178,
    "c": 0.1102,
    "h": 317.1
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#3E104C
secondary
#468632
accent
#E84067
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E104C

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

Preview Lab → · Contrast checker → · Palette generator →

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