#3E0741#3E0741

#3E0741 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.4% C 0.111 H 325.8°. Best body text is #FFFFFF at 16.01:1 contrast (WCAG AA passes).

Color values

HEX#3E0741
RGBrgb(62, 7, 65)
HSLhsl(297, 81%, 14%)
HSVhsv(297, 89%, 25%)
CMYKcmyk(4.6%, 89.2%, 0%, 74.5%)
CIE-LABlab(12.97, 33.43, -22.34)
CIE-LCHlch(12.97, 40.20, 326.25°)
OKLaboklab(26.45% 0.0915 -0.0622)
OKLCHoklch(26.45% 0.111 325.8)
XYZxyz(3.0167, 1.5580, 5.1418)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0741 #0A4107
analogous
#210741 #3E0741 #410727
triadic
#3E0741 #413E07 #07413E
tetradic
#3E0741 #412107 #0A4107 #072741
square
#3E0741 #412107 #0A4107 #072741
split-complementary
#3E0741 #274107 #074121
monochromatic
#1A031C #1A031C #3E0741 #730D78 #A713B0

Accessibility & contrast

On white

16.01
#3E0741 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3E0741 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0741
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0741#FFFFFF#000000##FFFFFF
##3E07411.0016.011.3116.01
#FFFFFF16.011.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D43
Deuteranopia (green-blind)
#152440
Tritanopia (blue-blind)
#401224
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3e0741;
/* rgb */ color: rgb(62, 7, 65);
/* oklch */ color: oklch(26.4% 0.111 325.8);
Tailwind
colors: {
  custom: {
    50: '#764f76',
    500: '#3e0741',
    950: '#000000',
  },
}
SCSS
$custom: #3e0741;
$custom-light: #764f76;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0741",
  "rgb": {
    "r": 62,
    "g": 7,
    "b": 65
  },
  "hsl": {
    "h": 296.897,
    "s": 80.556,
    "l": 14.118
  },
  "oklch": {
    "l": 0.26447,
    "c": 0.11066,
    "h": 325.8
  },
  "luminance": 0.01558
}

Semantic roles & 50–950 ramp

primary
#3E0741
secondary
#288024
accent
#F7313B
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E0741

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

Preview Lab → · Contrast checker → · Palette generator →

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