#3E1353#3E1353

#3E1353 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.1% C 0.114 H 312.2°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#3E1353
RGBrgb(62, 19, 83)
HSLhsl(280, 63%, 20%)
HSVhsv(280, 77%, 33%)
CMYKcmyk(25.3%, 77.1%, 0%, 67.5%)
CIE-LABlab(16.08, 32.41, -29.80)
CIE-LCHlch(16.08, 44.03, 317.40°)
OKLaboklab(29.09% 0.0763 -0.0842)
OKLCHoklch(29.09% 0.114 312.2)
XYZxyz(3.7805, 2.1145, 8.3909)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1353 #285313
analogous
#1E1353 #3E1353 #531348
triadic
#3E1353 #533E13 #13533E
tetradic
#3E1353 #531E13 #285313 #134853
square
#3E1353 #531E13 #285313 #134853
split-complementary
#3E1353 #485313 #13531E
monochromatic
#130619 #190821 #3E1353 #631E85 #882AB7

Accessibility & contrast

On white

14.76
#3E1353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3E1353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1353
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1353#FFFFFF#000000##FFFFFF
##3E13531.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002655
Deuteranopia (green-blind)
#0C2952
Tritanopia (blue-blind)
#3C2131
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3e1353;
/* rgb */ color: rgb(62, 19, 83);
/* oklch */ color: oklch(29.1% 0.114 312.2);
Tailwind
colors: {
  custom: {
    50: '#765584',
    500: '#3e1353',
    950: '#000000',
  },
}
SCSS
$custom: #3e1353;
$custom-light: #765584;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1353",
  "rgb": {
    "r": 62,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 280.313,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.29085,
    "c": 0.11363,
    "h": 312.2
  },
  "luminance": 0.02114
}

Semantic roles & 50–950 ramp

primary
#3E1353
secondary
#528B36
accent
#E64278
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3E1353

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

Preview Lab → · Contrast checker → · Palette generator →

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