#3E0640#3E0640

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

Color values

HEX#3E0640
RGBrgb(62, 6, 64)
HSLhsl(298, 83%, 14%)
HSVhsv(298, 91%, 25%)
CMYKcmyk(3.1%, 90.6%, 0%, 74.9%)
CIE-LABlab(12.76, 33.63, -21.96)
CIE-LCHlch(12.76, 40.16, 326.85°)
OKLaboklab(26.28% 0.0927 -0.0611)
OKLCHoklch(26.28% 0.111 326.6)
XYZxyz(2.9771, 1.5248, 4.9870)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E0640 #084006
analogous
#210640 #3E0640 #400625
triadic
#3E0640 #403E06 #06403E
tetradic
#3E0640 #402106 #084006 #062540
square
#3E0640 #402106 #084006 #062540
split-complementary
#3E0640 #254006 #064021
monochromatic
#1B031C #1B031C #3E0640 #740B78 #AA10B0

Accessibility & contrast

On white

16.09
#3E0640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E0640
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E0640#FFFFFF#000000##FFFFFF
##3E06401.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e0640;
/* rgb */ color: rgb(62, 6, 64);
/* oklch */ color: oklch(26.3% 0.111 326.6);
Tailwind
colors: {
  custom: {
    50: '#764e75',
    500: '#3e0640',
    950: '#000000',
  },
}
SCSS
$custom: #3e0640;
$custom-light: #764e75;
$custom-dark: #000000;
JSON
{
  "hex": "#3e0640",
  "rgb": {
    "r": 62,
    "g": 6,
    "b": 64
  },
  "hsl": {
    "h": 297.931,
    "s": 82.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.26277,
    "c": 0.11102,
    "h": 326.6
  },
  "luminance": 0.01525
}

Semantic roles & 50–950 ramp

primary
#3E0640
secondary
#258022
accent
#F92F36
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090208
muted
#7B787B

Preview Lab

Preview with #3E0640

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

Preview Lab → · Contrast checker → · Palette generator →

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