#3E1243#3E1243

#3E1243 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.098 H 323.5°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#3E1243
RGBrgb(62, 18, 67)
HSLhsl(294, 58%, 17%)
HSVhsv(294, 73%, 26%)
CMYKcmyk(7.5%, 73.1%, 0%, 73.7%)
CIE-LABlab(14.75, 29.19, -20.92)
CIE-LCHlch(14.75, 35.91, 324.38°)
OKLaboklab(27.76% 0.0786 -0.0582)
OKLCHoklch(27.76% 0.098 323.5)
XYZxyz(3.2159, 1.8622, 5.4991)
Luminance0.0186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1243 #174312
analogous
#261243 #3E1243 #431230
triadic
#3E1243 #433E12 #12433E
tetradic
#3E1243 #432612 #174312 #123043
square
#3E1243 #432612 #174312 #123043
split-complementary
#3E1243 #304312 #124326
monochromatic
#160618 #160618 #3E1243 #6B1F73 #972CA3

Accessibility & contrast

On white

15.30
#3E1243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3E1243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1243
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1243#FFFFFF#000000##FFFFFF
##3E12431.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072244
Deuteranopia (green-blind)
#1A2742
Tritanopia (blue-blind)
#3F1A28
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3e1243;
/* rgb */ color: rgb(62, 18, 67);
/* oklch */ color: oklch(27.8% 0.098 323.5);
Tailwind
colors: {
  custom: {
    50: '#755477',
    500: '#3e1243',
    950: '#000000',
  },
}
SCSS
$custom: #3e1243;
$custom-light: #755477;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1243",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 67
  },
  "hsl": {
    "h": 293.878,
    "s": 57.647,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27761,
    "c": 0.09778,
    "h": 323.5
  },
  "luminance": 0.01862
}

Semantic roles & 50–950 ramp

primary
#3E1243
secondary
#3C7C35
accent
#E14757
background
#F7F4F7
surface
#EDE8ED
border
#C8C4C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3E1243

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

Preview Lab → · Contrast checker → · Palette generator →

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