#3E0738#3E0738

#3E0738 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.8% C 0.103 H 333.2°. Best body text is #FFFFFF at 16.25:1 contrast (WCAG AA passes).

Color values

HEX#3E0738
RGBrgb(62, 7, 56)
HSLhsl(307, 80%, 14%)
HSVhsv(307, 89%, 24%)
CMYKcmyk(0%, 88.7%, 9.7%, 75.7%)
CIE-LABlab(12.36, 31.73, -16.89)
CIE-LCHlch(12.36, 35.95, 331.97°)
OKLaboklab(25.82% 0.0917 -0.0464)
OKLCHoklch(25.82% 0.103 333.2)
XYZxyz(2.7764, 1.4619, 3.8766)
Luminance0.0146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0738 #073E0D
analogous
#28073E #3E0738 #3E071C
triadic
#3E0738 #383E07 #07383E
tetradic
#3E0738 #3E2807 #073E0D #071C3E
square
#3E0738 #3E2807 #073E0D #071C3E
split-complementary
#3E0738 #1C3E07 #073E28
monochromatic
#1B0319 #1B0319 #3E0738 #750D6A #AC139B

Accessibility & contrast

On white

16.25
#3E0738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0738
16.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0738#FFFFFF#000000##FFFFFF
##3E07381.0016.251.2916.25
#FFFFFF16.251.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051B39
Deuteranopia (green-blind)
#1A2337
Tritanopia (blue-blind)
#410D1F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3e0738;
/* rgb */ color: rgb(62, 7, 56);
/* oklch */ color: oklch(25.8% 0.103 333.2);
Tailwind
colors: {
  custom: {
    50: '#764e6f',
    500: '#3e0738',
    950: '#000000',
  },
}
SCSS
$custom: #3e0738;
$custom-light: #764e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0738",
  "rgb": {
    "r": 62,
    "g": 7,
    "b": 56
  },
  "hsl": {
    "h": 306.545,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25818,
    "c": 0.10278,
    "h": 333.2
  },
  "luminance": 0.01462
}

Semantic roles & 50–950 ramp

primary
#3E0738
secondary
#247D2D
accent
#F64732
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3E0738

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

Preview Lab → · Contrast checker → · Palette generator →

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