#3A2644#3A2644

#3A2644 is a dark, muted purple. Relative luminance 0.027; OKLCH L 30.7% C 0.058 H 313.8°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#3A2644
RGBrgb(58, 38, 68)
HSLhsl(280, 28%, 21%)
HSVhsv(280, 44%, 27%)
CMYKcmyk(14.7%, 44.1%, 0%, 73.3%)
CIE-LABlab(18.81, 15.99, -15.25)
CIE-LCHlch(18.81, 22.10, 316.35°)
OKLaboklab(30.66% 0.0404 -0.0421)
OKLCHoklch(30.66% 0.058 313.8)
XYZxyz(3.4813, 2.7032, 5.8061)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2644 #304426
analogous
#2B2644 #3A2644 #44263F
triadic
#3A2644 #443A26 #26443A
tetradic
#3A2644 #442B26 #304426 #263F44
square
#3A2644 #442B26 #304426 #263F44
split-complementary
#3A2644 #3F4426 #26442B
monochromatic
#110B14 #19101D #3A2644 #5B3C6B #7D5293

Accessibility & contrast

On white

13.63
#3A2644 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3A2644 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2644
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2644#FFFFFF#000000##FFFFFF
##3A26441.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212D45
Deuteranopia (green-blind)
#262E43
Tritanopia (blue-blind)
#392A31
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3a2644;
/* rgb */ color: rgb(58, 38, 68);
/* oklch */ color: oklch(30.7% 0.058 313.8);
Tailwind
colors: {
  custom: {
    50: '#716078',
    500: '#3a2644',
    950: '#000000',
  },
}
SCSS
$custom: #3a2644;
$custom-light: #716078;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2644",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 68
  },
  "hsl": {
    "h": 280,
    "s": 28.302,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30656,
    "c": 0.05835,
    "h": 313.8
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#3A2644
secondary
#5C764F
accent
#C56384
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070509
muted
#7A797B

Preview Lab

Preview with #3A2644

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

Preview Lab → · Contrast checker → · Palette generator →

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