#3A2640#3A2640

#3A2640 is a dark, muted purple. Relative luminance 0.027; OKLCH L 30.4% C 0.053 H 318.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#3A2640
RGBrgb(58, 38, 64)
HSLhsl(286, 25%, 20%)
HSVhsv(286, 41%, 25%)
CMYKcmyk(9.4%, 40.6%, 0%, 74.9%)
CIE-LABlab(18.61, 14.97, -12.82)
CIE-LCHlch(18.61, 19.71, 319.43°)
OKLaboklab(30.44% 0.0393 -0.0351)
OKLCHoklch(30.44% 0.053 318.2)
XYZxyz(3.3633, 2.6560, 5.1850)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2640 #2C4026
analogous
#2D2640 #3A2640 #402639
triadic
#3A2640 #403A26 #26403A
tetradic
#3A2640 #402D26 #2C4026 #263940
square
#3A2640 #402D26 #2C4026 #263940
split-complementary
#3A2640 #394026 #26402D
monochromatic
#110B13 #170F1A #3A2640 #5D3D66 #80548D

Accessibility & contrast

On white

13.71
#3A2640 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3A2640 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2640
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2640#FFFFFF#000000##FFFFFF
##3A26401.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C41
Deuteranopia (green-blind)
#272E3F
Tritanopia (blue-blind)
#3A2930
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3a2640;
/* rgb */ color: rgb(58, 38, 64);
/* oklch */ color: oklch(30.4% 0.053 318.2);
Tailwind
colors: {
  custom: {
    50: '#706075',
    500: '#3a2640',
    950: '#000000',
  },
}
SCSS
$custom: #3a2640;
$custom-light: #706075;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2640",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 64
  },
  "hsl": {
    "h": 286.154,
    "s": 25.49,
    "l": 20
  },
  "oklch": {
    "l": 0.30435,
    "c": 0.05273,
    "h": 318.2
  },
  "luminance": 0.02656
}

Semantic roles & 50–950 ramp

primary
#3A2640
secondary
#587250
accent
#C2667B
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070508
muted
#7A797B

Preview Lab

Preview with #3A2640

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

Preview Lab → · Contrast checker → · Palette generator →

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