#3A183D#3A183D

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

Color values

HEX#3A183D
RGBrgb(58, 24, 61)
HSLhsl(295, 44%, 17%)
HSVhsv(295, 61%, 24%)
CMYKcmyk(4.9%, 60.7%, 0%, 76.1%)
CIE-LABlab(14.90, 23.30, -16.51)
CIE-LCHlch(14.90, 28.56, 324.68°)
OKLaboklab(27.61% 0.0634 -0.0456)
OKLCHoklch(27.61% 0.078 324.3)
XYZxyz(2.9138, 1.8899, 4.6253)
Luminance0.0189 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A183D #1B3D18
analogous
#28183D #3A183D #3D182E
triadic
#3A183D #3D3A18 #183D3A
tetradic
#3A183D #3D2818 #1B3D18 #182E3D
square
#3A183D #3D2818 #1B3D18 #182E3D
split-complementary
#3A183D #2E3D18 #183D28
monochromatic
#150916 #150916 #3A183D #642969 #8E3B95

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A183D#FFFFFF#000000##FFFFFF
##3A183D1.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)
#13233E
Deuteranopia (green-blind)
#1E273C
Tritanopia (blue-blind)
#3B1D27
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3a183d;
/* rgb */ color: rgb(58, 24, 61);
/* oklch */ color: oklch(27.6% 0.078 324.3);
Tailwind
colors: {
  custom: {
    50: '#715772',
    500: '#3a183d',
    950: '#000000',
  },
}
SCSS
$custom: #3a183d;
$custom-light: #715772;
$custom-dark: #000000;
JSON
{
  "hex": "#3a183d",
  "rgb": {
    "r": 58,
    "g": 24,
    "b": 61
  },
  "hsl": {
    "h": 295.135,
    "s": 43.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.2761,
    "c": 0.07808,
    "h": 324.3
  },
  "luminance": 0.0189
}

Semantic roles & 50–950 ramp

primary
#3A183D
secondary
#42733D
accent
#D3555F
background
#F6F5F6
surface
#ECE9EC
border
#C7C5C7
text
#080308
muted
#7B787B

Preview Lab

Preview with #3A183D

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

Preview Lab → · Contrast checker → · Palette generator →

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