#3A134B#3A134B

#3A134B is a dark, moderate purple. Relative luminance 0.019; OKLCH L 27.8% C 0.103 H 313.8°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#3A134B
RGBrgb(58, 19, 75)
HSLhsl(282, 60%, 18%)
HSVhsv(282, 75%, 29%)
CMYKcmyk(22.7%, 74.7%, 0%, 70.6%)
CIE-LABlab(14.81, 29.45, -26.41)
CIE-LCHlch(14.81, 39.56, 318.12°)
OKLaboklab(27.85% 0.0712 -0.0744)
OKLCHoklch(27.85% 0.103 313.8)
XYZxyz(3.2476, 1.8734, 6.8458)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A134B #244B13
analogous
#1E134B #3A134B #4B1340
triadic
#3A134B #4B3A13 #134B3A
tetradic
#3A134B #4B1E13 #244B13 #13404B
square
#3A134B #4B1E13 #244B13 #13404B
split-complementary
#3A134B #404B13 #134B1E
monochromatic
#130618 #14071A #3A134B #601F7C #862CAD

Accessibility & contrast

On white

15.28
#3A134B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3A134B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A134B
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A134B#FFFFFF#000000##FFFFFF
##3A134B1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234D
Deuteranopia (green-blind)
#10264A
Tritanopia (blue-blind)
#381E2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3a134b;
/* rgb */ color: rgb(58, 19, 75);
/* oklch */ color: oklch(27.8% 0.103 313.8);
Tailwind
colors: {
  custom: {
    50: '#72547e',
    500: '#3a134b',
    950: '#000000',
  },
}
SCSS
$custom: #3a134b;
$custom-light: #72547e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a134b",
  "rgb": {
    "r": 58,
    "g": 19,
    "b": 75
  },
  "hsl": {
    "h": 281.786,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27847,
    "c": 0.10299,
    "h": 313.8
  },
  "luminance": 0.01873
}

Semantic roles & 50–950 ramp

primary
#3A134B
secondary
#4E8436
accent
#E34575
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3A134B

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

Preview Lab → · Contrast checker → · Palette generator →

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