#3E2646#3E2646

#3E2646 is a dark, moderate purple. Relative luminance 0.029; OKLCH L 31.3% C 0.063 H 317.4°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#3E2646
RGBrgb(62, 38, 70)
HSLhsl(285, 30%, 21%)
HSVhsv(285, 46%, 27%)
CMYKcmyk(11.4%, 45.7%, 0%, 72.5%)
CIE-LABlab(19.44, 17.97, -15.60)
CIE-LCHlch(19.44, 23.80, 319.03°)
OKLaboklab(31.28% 0.0467 -0.043)
OKLCHoklch(31.28% 0.063 317.4)
XYZxyz(3.7851, 2.8527, 6.1444)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2646 #2E4626
analogous
#2E2646 #3E2646 #46263E
triadic
#3E2646 #463E26 #26463E
tetradic
#3E2646 #462E26 #2E4626 #263E46
square
#3E2646 #462E26 #2E4626 #263E46
split-complementary
#3E2646 #3E4626 #26462E
monochromatic
#120B14 #1B101E #3E2646 #613C6E #845195

Accessibility & contrast

On white

13.37
#3E2646 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3E2646 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2646
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2646#FFFFFF#000000##FFFFFF
##3E26461.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212E47
Deuteranopia (green-blind)
#273045
Tritanopia (blue-blind)
#3E2A32
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3e2646;
/* rgb */ color: rgb(62, 38, 70);
/* oklch */ color: oklch(31.3% 0.063 317.4);
Tailwind
colors: {
  custom: {
    50: '#746179',
    500: '#3e2646',
    950: '#000000',
  },
}
SCSS
$custom: #3e2646;
$custom-light: #746179;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2646",
  "rgb": {
    "r": 62,
    "g": 38,
    "b": 70
  },
  "hsl": {
    "h": 285,
    "s": 29.63,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31283,
    "c": 0.06346,
    "h": 317.4
  },
  "luminance": 0.02853
}

Semantic roles & 50–950 ramp

primary
#3E2646
secondary
#5A794F
accent
#C6627B
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080509
muted
#7B797B

Preview Lab

Preview with #3E2646

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

Preview Lab → · Contrast checker → · Palette generator →

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