#3E1051#3E1051

#3E1051 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.6% C 0.115 H 313.9°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#3E1051
RGBrgb(62, 16, 81)
HSLhsl(282, 67%, 19%)
HSVhsv(282, 80%, 32%)
CMYKcmyk(23.5%, 80.2%, 0%, 68.2%)
CIE-LABlab(15.43, 33.32, -29.49)
CIE-LCHlch(15.43, 44.50, 318.49°)
OKLaboklab(28.58% 0.0801 -0.0832)
OKLCHoklch(28.58% 0.115 313.9)
XYZxyz(3.6568, 1.9889, 7.9743)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1051 #235110
analogous
#1E1051 #3E1051 #511044
triadic
#3E1051 #513E10 #10513E
tetradic
#3E1051 #511E10 #235110 #104451
square
#3E1051 #511E10 #235110 #104451
split-complementary
#3E1051 #445110 #10511E
monochromatic
#14051A #17061E #3E1051 #651A84 #8C24B7

Accessibility & contrast

On white

15.02
#3E1051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3E1051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1051
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1051#FFFFFF#000000##FFFFFF
##3E10511.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002453
Deuteranopia (green-blind)
#0B2850
Tritanopia (blue-blind)
#3C1E2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e1051;
/* rgb */ color: rgb(62, 16, 81);
/* oklch */ color: oklch(28.6% 0.115 313.9);
Tailwind
colors: {
  custom: {
    50: '#765382',
    500: '#3e1051',
    950: '#000000',
  },
}
SCSS
$custom: #3e1051;
$custom-light: #765382;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1051",
  "rgb": {
    "r": 62,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 282.462,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28575,
    "c": 0.11549,
    "h": 313.9
  },
  "luminance": 0.01989
}

Semantic roles & 50–950 ramp

primary
#3E1051
secondary
#4C8B32
accent
#EA3E70
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3E1051

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

Preview Lab → · Contrast checker → · Palette generator →

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