#3A144A#3A144A

#3A144A is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.9% C 0.100 H 314.3°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#3A144A
RGBrgb(58, 20, 74)
HSLhsl(282, 57%, 18%)
HSVhsv(282, 73%, 29%)
CMYKcmyk(21.6%, 73%, 0%, 71%)
CIE-LABlab(14.92, 28.68, -25.54)
CIE-LCHlch(14.92, 38.40, 318.32°)
OKLaboklab(27.91% 0.07 -0.0718)
OKLCHoklch(27.91% 0.1 314.3)
XYZxyz(3.2309, 1.8944, 6.6727)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A144A #244A14
analogous
#1F144A #3A144A #4A143F
triadic
#3A144A #4A3A14 #144A3A
tetradic
#3A144A #4A1F14 #244A14 #143F4A
square
#3A144A #4A1F14 #244A14 #143F4A
split-complementary
#3A144A #3F4A14 #144A1F
monochromatic
#130718 #14071A #3A144A #60217A #862EAA

Accessibility & contrast

On white

15.23
#3A144A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A144A
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A144A#FFFFFF#000000##FFFFFF
##3A144A1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#122649
Tritanopia (blue-blind)
#391E2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3a144a;
/* rgb */ color: rgb(58, 20, 74);
/* oklch */ color: oklch(27.9% 0.100 314.3);
Tailwind
colors: {
  custom: {
    50: '#72557d',
    500: '#3a144a',
    950: '#000000',
  },
}
SCSS
$custom: #3a144a;
$custom-light: #72557d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a144a",
  "rgb": {
    "r": 58,
    "g": 20,
    "b": 74
  },
  "hsl": {
    "h": 282.222,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27905,
    "c": 0.10028,
    "h": 314.3
  },
  "luminance": 0.01894
}

Semantic roles & 50–950 ramp

primary
#3A144A
secondary
#4E8238
accent
#E14775
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#080309
muted
#7B787B

Preview Lab

Preview with #3A144A

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

Preview Lab → · Contrast checker → · Palette generator →

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