#3E1153#3E1153

#3E1153 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.8% C 0.116 H 312.5°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#3E1153
RGBrgb(62, 17, 83)
HSLhsl(281, 66%, 20%)
HSVhsv(281, 80%, 33%)
CMYKcmyk(25.3%, 79.5%, 0%, 67.5%)
CIE-LABlab(15.75, 33.35, -30.34)
CIE-LCHlch(15.75, 45.09, 317.71°)
OKLaboklab(28.85% 0.0786 -0.0857)
OKLCHoklch(28.85% 0.116 312.5)
XYZxyz(3.7481, 2.0497, 8.3801)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1153 #265311
analogous
#1D1153 #3E1153 #531147
triadic
#3E1153 #533E11 #11533E
tetradic
#3E1153 #531D11 #265311 #114753
square
#3E1153 #531D11 #265311 #114753
split-complementary
#3E1153 #475311 #11531D
monochromatic
#130519 #180720 #3E1153 #641B86 #8A26B9

Accessibility & contrast

On white

14.89
#3E1153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E1153
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1153#FFFFFF#000000##FFFFFF
##3E11531.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#092852
Tritanopia (blue-blind)
#3C2031
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3e1153;
/* rgb */ color: rgb(62, 17, 83);
/* oklch */ color: oklch(28.8% 0.116 312.5);
Tailwind
colors: {
  custom: {
    50: '#765484',
    500: '#3e1153',
    950: '#000000',
  },
}
SCSS
$custom: #3e1153;
$custom-light: #765484;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1153",
  "rgb": {
    "r": 62,
    "g": 17,
    "b": 83
  },
  "hsl": {
    "h": 280.909,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.2885,
    "c": 0.11634,
    "h": 312.5
  },
  "luminance": 0.0205
}

Semantic roles & 50–950 ramp

primary
#3E1153
secondary
#508C34
accent
#E93F75
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1153

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

Preview Lab → · Contrast checker → · Palette generator →

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