#3E0739#3E0739

#3E0739 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.104 H 332.3°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#3E0739
RGBrgb(62, 7, 57)
HSLhsl(305, 80%, 14%)
HSVhsv(305, 89%, 24%)
CMYKcmyk(0%, 88.7%, 8.1%, 75.7%)
CIE-LABlab(12.43, 31.91, -17.51)
CIE-LCHlch(12.43, 36.40, 331.25°)
OKLaboklab(25.88% 0.0918 -0.0482)
OKLCHoklch(25.88% 0.104 332.3)
XYZxyz(2.8011, 1.4717, 4.0066)
Luminance0.0147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0739 #073E0C
analogous
#27073E #3E0739 #3E071D
triadic
#3E0739 #393E07 #07393E
tetradic
#3E0739 #3E2707 #073E0C #071D3E
square
#3E0739 #3E2707 #073E0C #071D3E
split-complementary
#3E0739 #1D3E07 #073E27
monochromatic
#1B0319 #1B0319 #3E0739 #750D6C #AC139E

Accessibility & contrast

On white

16.23
#3E0739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3E0739 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0739
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0739#FFFFFF#000000##FFFFFF
##3E07391.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041B3A
Deuteranopia (green-blind)
#1A2338
Tritanopia (blue-blind)
#410E20
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3e0739;
/* rgb */ color: rgb(62, 7, 57);
/* oklch */ color: oklch(25.9% 0.104 332.3);
Tailwind
colors: {
  custom: {
    50: '#764e6f',
    500: '#3e0739',
    950: '#000000',
  },
}
SCSS
$custom: #3e0739;
$custom-light: #764e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0739",
  "rgb": {
    "r": 62,
    "g": 7,
    "b": 57
  },
  "hsl": {
    "h": 305.455,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25884,
    "c": 0.10364,
    "h": 332.3
  },
  "luminance": 0.01471
}

Semantic roles & 50–950 ramp

primary
#3E0739
secondary
#247D2C
accent
#F64432
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3E0739

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

Preview Lab → · Contrast checker → · Palette generator →

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