#3A143E#3A143E

#3A143E is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.0% C 0.087 H 323.8°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#3A143E
RGBrgb(58, 20, 62)
HSLhsl(294, 51%, 16%)
HSVhsv(294, 68%, 24%)
CMYKcmyk(6.5%, 67.7%, 0%, 75.7%)
CIE-LABlab(14.10, 25.84, -18.47)
CIE-LCHlch(14.10, 31.76, 324.45°)
OKLaboklab(27.05% 0.0699 -0.0512)
OKLCHoklch(27.05% 0.087 323.8)
XYZxyz(2.8645, 1.7478, 4.7430)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A143E #183E14
analogous
#25143E #3A143E #3E142D
triadic
#3A143E #3E3A14 #143E3A
tetradic
#3A143E #3E2514 #183E14 #142D3E
square
#3A143E #3E2514 #183E14 #142D3E
split-complementary
#3A143E #2D3E14 #143E25
monochromatic
#160717 #160717 #3A143E #65236C #91329B

Accessibility & contrast

On white

15.56
#3A143E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3A143E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A143E
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A143E#FFFFFF#000000##FFFFFF
##3A143E1.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D213F
Deuteranopia (green-blind)
#1A253D
Tritanopia (blue-blind)
#3B1A26
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3a143e;
/* rgb */ color: rgb(58, 20, 62);
/* oklch */ color: oklch(27.0% 0.087 323.8);
Tailwind
colors: {
  custom: {
    50: '#725473',
    500: '#3a143e',
    950: '#000000',
  },
}
SCSS
$custom: #3a143e;
$custom-light: #725473;
$custom-dark: #000000;
JSON
{
  "hex": "#3a143e",
  "rgb": {
    "r": 58,
    "g": 20,
    "b": 62
  },
  "hsl": {
    "h": 294.286,
    "s": 51.22,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27048,
    "c": 0.08663,
    "h": 323.8
  },
  "luminance": 0.01748
}

Semantic roles & 50–950 ramp

primary
#3A143E
secondary
#3E7638
accent
#DB4D5B
background
#F7F4F7
surface
#EDE8ED
border
#C8C4C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3A143E

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

Preview Lab → · Contrast checker → · Palette generator →

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