#3E0746#3E0746

#3E0746 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.8% C 0.115 H 322.1°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#3E0746
RGBrgb(62, 7, 70)
HSLhsl(292, 82%, 15%)
HSVhsv(292, 90%, 27%)
CMYKcmyk(11.4%, 90%, 0%, 72.5%)
CIE-LABlab(13.34, 34.44, -25.26)
CIE-LCHlch(13.34, 42.70, 323.74°)
OKLaboklab(26.83% 0.0909 -0.0708)
OKLCHoklch(26.83% 0.115 322.1)
XYZxyz(3.1680, 1.6185, 5.9387)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0746 #0F4607
analogous
#1E0746 #3E0746 #46072E
triadic
#3E0746 #463E07 #07463E
tetradic
#3E0746 #461E07 #0F4607 #072E46
square
#3E0746 #461E07 #0F4607 #072E46
split-complementary
#3E0746 #2E4607 #07461E
monochromatic
#19031C #19031C #3E0746 #6F0D7E #A112B5

Accessibility & contrast

On white

15.87
#3E0746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3E0746 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E0746
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0746#FFFFFF#000000##FFFFFF
##3E07461.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E48
Deuteranopia (green-blind)
#112445
Tritanopia (blue-blind)
#3F1427
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3e0746;
/* rgb */ color: rgb(62, 7, 70);
/* oklch */ color: oklch(26.8% 0.115 322.1);
Tailwind
colors: {
  custom: {
    50: '#764f7a',
    500: '#3e0746',
    950: '#000000',
  },
}
SCSS
$custom: #3e0746;
$custom-light: #764f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0746",
  "rgb": {
    "r": 62,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 292.381,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26827,
    "c": 0.11522,
    "h": 322.1
  },
  "luminance": 0.01618
}

Semantic roles & 50–950 ramp

primary
#3E0746
secondary
#308524
accent
#F83049
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3E0746

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

Preview Lab → · Contrast checker → · Palette generator →

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