#3E1237#3E1237

#3E1237 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.086 H 334.5°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#3E1237
RGBrgb(62, 18, 55)
HSLhsl(310, 55%, 16%)
HSVhsv(310, 71%, 24%)
CMYKcmyk(0%, 71%, 11.3%, 75.7%)
CIE-LABlab(14.02, 26.72, -13.58)
CIE-LCHlch(14.02, 29.97, 333.06°)
OKLaboklab(27% 0.0775 -0.037)
OKLCHoklch(27% 0.086 334.5)
XYZxyz(2.8925, 1.7328, 3.7958)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E1237 #123E19
analogous
#2F123E #3E1237 #3E1221
triadic
#3E1237 #373E12 #12373E
tetradic
#3E1237 #3E2F12 #123E19 #12213E
square
#3E1237 #3E2F12 #123E19 #12213E
split-complementary
#3E1237 #213E12 #123E2F
monochromatic
#180715 #180715 #3E1237 #6D2061 #9D2E8B

Accessibility & contrast

On white

15.59
#3E1237 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3E1237 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E1237
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E1237#FFFFFF#000000##FFFFFF
##3E12371.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121F38
Deuteranopia (green-blind)
#202636
Tritanopia (blue-blind)
#411522
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3e1237;
/* rgb */ color: rgb(62, 18, 55);
/* oklch */ color: oklch(27.0% 0.086 334.5);
Tailwind
colors: {
  custom: {
    50: '#75536e',
    500: '#3e1237',
    950: '#000000',
  },
}
SCSS
$custom: #3e1237;
$custom-light: #75536e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e1237",
  "rgb": {
    "r": 62,
    "g": 18,
    "b": 55
  },
  "hsl": {
    "h": 309.545,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26995,
    "c": 0.08585,
    "h": 334.5
  },
  "luminance": 0.01733
}

Semantic roles & 50–950 ramp

primary
#3E1237
secondary
#35773F
accent
#DE6149
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080307
muted
#7B787A

Preview Lab

Preview with #3E1237

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

Preview Lab → · Contrast checker → · Palette generator →

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