#3E0740#3E0740

#3E0740 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.4% C 0.110 H 326.6°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#3E0740
RGBrgb(62, 7, 64)
HSLhsl(298, 80%, 14%)
HSVhsv(298, 89%, 25%)
CMYKcmyk(3.1%, 89.1%, 0%, 74.9%)
CIE-LABlab(12.90, 33.23, -21.75)
CIE-LCHlch(12.90, 39.71, 326.80°)
OKLaboklab(26.37% 0.0916 -0.0605)
OKLCHoklch(26.37% 0.11 326.6)
XYZxyz(2.9879, 1.5465, 4.9906)
Luminance0.0155 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0740 #094007
analogous
#220740 #3E0740 #400726
triadic
#3E0740 #403E07 #07403E
tetradic
#3E0740 #402207 #094007 #072640
square
#3E0740 #402207 #094007 #072640
split-complementary
#3E0740 #264007 #074022
monochromatic
#1B031C #1B031C #3E0740 #730D77 #A913AE

Accessibility & contrast

On white

16.04
#3E0740 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0740
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0740#FFFFFF#000000##FFFFFF
##3E07401.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#16243F
Tritanopia (blue-blind)
#401124
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3e0740;
/* rgb */ color: rgb(62, 7, 64);
/* oklch */ color: oklch(26.4% 0.110 326.6);
Tailwind
colors: {
  custom: {
    50: '#764f75',
    500: '#3e0740',
    950: '#000000',
  },
}
SCSS
$custom: #3e0740;
$custom-light: #764f75;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0740",
  "rgb": {
    "r": 62,
    "g": 7,
    "b": 64
  },
  "hsl": {
    "h": 297.895,
    "s": 80.282,
    "l": 13.922
  },
  "oklch": {
    "l": 0.26374,
    "c": 0.10976,
    "h": 326.6
  },
  "luminance": 0.01546
}

Semantic roles & 50–950 ramp

primary
#3E0740
secondary
#277F24
accent
#F73138
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E0740

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

Preview Lab → · Contrast checker → · Palette generator →

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