#3A134D#3A134D

#3A134D is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.0% C 0.105 H 312.4°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#3A134D
RGBrgb(58, 19, 77)
HSLhsl(280, 60%, 19%)
HSVhsv(280, 75%, 30%)
CMYKcmyk(24.7%, 75.3%, 0%, 69.8%)
CIE-LABlab(14.96, 29.95, -27.54)
CIE-LCHlch(14.96, 40.69, 317.40°)
OKLaboklab(28% 0.0711 -0.0777)
OKLCHoklch(28% 0.105 312.4)
XYZxyz(3.3171, 1.9012, 7.2120)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A134D #264D13
analogous
#1D134D #3A134D #4D1343
triadic
#3A134D #4D3A13 #134D3A
tetradic
#3A134D #4D1D13 #264D13 #13434D
square
#3A134D #4D1D13 #264D13 #13434D
split-complementary
#3A134D #434D13 #134D1D
monochromatic
#120619 #15071C #3A134D #5F1F7E #842BAF

Accessibility & contrast

On white

15.22
#3A134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A134D
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A134D#FFFFFF#000000##FFFFFF
##3A134D1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#0E264C
Tritanopia (blue-blind)
#381F2E
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3a134d;
/* rgb */ color: rgb(58, 19, 77);
/* oklch */ color: oklch(28.0% 0.105 312.4);
Tailwind
colors: {
  custom: {
    50: '#73547f',
    500: '#3a134d',
    950: '#000000',
  },
}
SCSS
$custom: #3a134d;
$custom-light: #73547f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a134d",
  "rgb": {
    "r": 58,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 280.345,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.28004,
    "c": 0.10529,
    "h": 312.4
  },
  "luminance": 0.01901
}

Semantic roles & 50–950 ramp

primary
#3A134D
secondary
#508636
accent
#E44478
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3A134D

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

Preview Lab → · Contrast checker → · Palette generator →

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