#3E0638#3E0638

#3E0638 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.7% C 0.104 H 333.1°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#3E0638
RGBrgb(62, 6, 56)
HSLhsl(306, 82%, 13%)
HSVhsv(306, 90%, 24%)
CMYKcmyk(0%, 90.3%, 9.7%, 75.7%)
CIE-LABlab(12.22, 32.14, -17.12)
CIE-LCHlch(12.22, 36.41, 331.96°)
OKLaboklab(25.72% 0.0929 -0.047)
OKLCHoklch(25.72% 0.104 333.1)
XYZxyz(2.7656, 1.4401, 3.8729)
Luminance0.0144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0638 #063E0C
analogous
#28063E #3E0638 #3E061C
triadic
#3E0638 #383E06 #06383E
tetradic
#3E0638 #3E2806 #063E0C #061C3E
square
#3E0638 #3E2806 #063E0C #061C3E
split-complementary
#3E0638 #1C3E06 #063E28
monochromatic
#1C0319 #1C0319 #3E0638 #760B6A #AE119D

Accessibility & contrast

On white

16.30
#3E0638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0638
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0638#FFFFFF#000000##FFFFFF
##3E06381.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e0638;
/* rgb */ color: rgb(62, 6, 56);
/* oklch */ color: oklch(25.7% 0.104 333.1);
Tailwind
colors: {
  custom: {
    50: '#764e6f',
    500: '#3e0638',
    950: '#000000',
  },
}
SCSS
$custom: #3e0638;
$custom-light: #764e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0638",
  "rgb": {
    "r": 62,
    "g": 6,
    "b": 56
  },
  "hsl": {
    "h": 306.429,
    "s": 82.353,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25717,
    "c": 0.10414,
    "h": 333.1
  },
  "luminance": 0.0144
}

Semantic roles & 50–950 ramp

primary
#3E0638
secondary
#227E2C
accent
#F9452F
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3E0638

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

Preview Lab → · Contrast checker → · Palette generator →

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