#3E104E#3E104E

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

Color values

HEX#3E104E
RGBrgb(62, 16, 78)
HSLhsl(285, 66%, 18%)
HSVhsv(285, 79%, 31%)
CMYKcmyk(20.5%, 79.5%, 0%, 69.4%)
CIE-LABlab(15.20, 32.62, -27.81)
CIE-LCHlch(15.20, 42.87, 319.55°)
OKLaboklab(28.34% 0.0805 -0.0783)
OKLCHoklch(28.34% 0.112 315.8)
XYZxyz(3.5468, 1.9449, 7.3948)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E104E #204E10
analogous
#1F104E #3E104E #4E103F
triadic
#3E104E #4E3E10 #104E3E
tetradic
#3E104E #4E1F10 #204E10 #103F4E
square
#3E104E #4E1F10 #204E10 #103F4E
split-complementary
#3E104E #3F4E10 #104E1F
monochromatic
#140519 #16061B #3E104E #661A81 #8F25B4

Accessibility & contrast

On white

15.12
#3E104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E104E
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E104E#FFFFFF#000000##FFFFFF
##3E104E1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e104e;
/* rgb */ color: rgb(62, 16, 78);
/* oklch */ color: oklch(28.3% 0.112 315.8);
Tailwind
colors: {
  custom: {
    50: '#765380',
    500: '#3e104e',
    950: '#000000',
  },
}
SCSS
$custom: #3e104e;
$custom-light: #765380;
$custom-dark: #000000;
JSON
{
  "hex": "#3e104e",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 284.516,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.28335,
    "c": 0.11231,
    "h": 315.8
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#3E104E
secondary
#488832
accent
#E93F6B
background
#F7F4F7
surface
#EDE8EE
border
#C8C4C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E104E

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

Preview Lab → · Contrast checker → · Palette generator →

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