#3A144D#3A144D

#3A144D is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.1% C 0.104 H 312.2°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#3A144D
RGBrgb(58, 20, 77)
HSLhsl(280, 59%, 19%)
HSVhsv(280, 74%, 30%)
CMYKcmyk(24.7%, 74%, 0%, 69.8%)
CIE-LABlab(15.15, 29.43, -27.24)
CIE-LCHlch(15.15, 40.10, 317.21°)
OKLaboklab(28.14% 0.0698 -0.0768)
OKLCHoklch(28.14% 0.104 312.2)
XYZxyz(3.3344, 1.9358, 7.2177)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A144D #274D14
analogous
#1E144D #3A144D #4D1444
triadic
#3A144D #4D3A14 #144D3A
tetradic
#3A144D #4D1E14 #274D14 #14444D
square
#3A144D #4D1E14 #274D14 #14444D
split-complementary
#3A144D #444D14 #144D1E
monochromatic
#120618 #15071C #3A144D #5F217E #832DAE

Accessibility & contrast

On white

15.14
#3A144D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3A144D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A144D
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A144D#FFFFFF#000000##FFFFFF
##3A144D1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#0F274C
Tritanopia (blue-blind)
#38202E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3a144d;
/* rgb */ color: rgb(58, 20, 77);
/* oklch */ color: oklch(28.1% 0.104 312.2);
Tailwind
colors: {
  custom: {
    50: '#73557f',
    500: '#3a144d',
    950: '#000000',
  },
}
SCSS
$custom: #3a144d;
$custom-light: #73557f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a144d",
  "rgb": {
    "r": 58,
    "g": 20,
    "b": 77
  },
  "hsl": {
    "h": 280,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28137,
    "c": 0.10377,
    "h": 312.2
  },
  "luminance": 0.01936
}

Semantic roles & 50–950 ramp

primary
#3A144D
secondary
#518538
accent
#E2467A
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3A144D

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

Preview Lab → · Contrast checker → · Palette generator →

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