#3A1644#3A1644

#3A1644 is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.090 H 318.3°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#3A1644
RGBrgb(58, 22, 68)
HSLhsl(287, 51%, 18%)
HSVhsv(287, 68%, 27%)
CMYKcmyk(14.7%, 67.6%, 0%, 73.3%)
CIE-LABlab(14.90, 26.12, -21.41)
CIE-LCHlch(14.90, 33.77, 320.66°)
OKLaboklab(27.76% 0.0672 -0.0598)
OKLCHoklch(27.76% 0.09 318.3)
XYZxyz(3.0751, 1.8908, 5.6707)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A1644 #204416
analogous
#231644 #3A1644 #441637
triadic
#3A1644 #443A16 #16443A
tetradic
#3A1644 #442316 #204416 #163744
square
#3A1644 #442316 #204416 #163744
split-complementary
#3A1644 #374416 #164423
monochromatic
#140717 #140717 #3A1644 #612572 #8934A0

Accessibility & contrast

On white

15.24
#3A1644 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3A1644 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A1644
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A1644#FFFFFF#000000##FFFFFF
##3A16441.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2345
Deuteranopia (green-blind)
#182743
Tritanopia (blue-blind)
#3A1E2A
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3a1644;
/* rgb */ color: rgb(58, 22, 68);
/* oklch */ color: oklch(27.8% 0.090 318.3);
Tailwind
colors: {
  custom: {
    50: '#725678',
    500: '#3a1644',
    950: '#000000',
  },
}
SCSS
$custom: #3a1644;
$custom-light: #725678;
$custom-dark: #000000;
JSON
{
  "hex": "#3a1644",
  "rgb": {
    "r": 58,
    "g": 22,
    "b": 68
  },
  "hsl": {
    "h": 286.957,
    "s": 51.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27756,
    "c": 0.08993,
    "h": 318.3
  },
  "luminance": 0.01891
}

Semantic roles & 50–950 ramp

primary
#3A1644
secondary
#497B3A
accent
#DB4D6C
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3A1644

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

Preview Lab → · Contrast checker → · Palette generator →

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