#3E1154#3E1154

#3E1154 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.9% C 0.117 H 311.9°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#3E1154
RGBrgb(62, 17, 84)
HSLhsl(280, 66%, 20%)
HSVhsv(280, 80%, 33%)
CMYKcmyk(26.2%, 79.8%, 0%, 67.1%)
CIE-LABlab(15.83, 33.59, -30.89)
CIE-LCHlch(15.83, 45.64, 317.40°)
OKLaboklab(28.93% 0.0785 -0.0874)
OKLCHoklch(28.93% 0.117 311.9)
XYZxyz(3.7870, 2.0652, 8.5849)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1154 #275411
analogous
#1D1154 #3E1154 #541148
triadic
#3E1154 #543E11 #11543E
tetradic
#3E1154 #541D11 #275411 #114854
square
#3E1154 #541D11 #275411 #114854
split-complementary
#3E1154 #485411 #11541D
monochromatic
#130519 #180721 #3E1154 #641B87 #8926BA

Accessibility & contrast

On white

14.86
#3E1154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3E1154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1154
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1154#FFFFFF#000000##FFFFFF
##3E11541.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002556
Deuteranopia (green-blind)
#082853
Tritanopia (blue-blind)
#3B2031
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e1154;
/* rgb */ color: rgb(62, 17, 84);
/* oklch */ color: oklch(28.9% 0.117 311.9);
Tailwind
colors: {
  custom: {
    50: '#765485',
    500: '#3e1154',
    950: '#000000',
  },
}
SCSS
$custom: #3e1154;
$custom-light: #765485;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1154",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 84
  },
  "hsl": {
    "h": 280.299,
    "s": 66.337,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28932,
    "c": 0.11742,
    "h": 311.9
  },
  "luminance": 0.02065
}

Semantic roles & 50–950 ramp

primary
#3E1154
secondary
#518D34
accent
#E93F77
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1154

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

Preview Lab → · Contrast checker → · Palette generator →

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