#3A134C#3A134C

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

Color values

HEX#3A134C
RGBrgb(58, 19, 76)
HSLhsl(281, 60%, 19%)
HSVhsv(281, 75%, 30%)
CMYKcmyk(23.7%, 75%, 0%, 70.2%)
CIE-LABlab(14.88, 29.70, -26.98)
CIE-LCHlch(14.88, 40.12, 317.75°)
OKLaboklab(27.93% 0.0712 -0.076)
OKLCHoklch(27.93% 0.104 313.1)
XYZxyz(3.2821, 1.8872, 7.0274)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A134C #254C13
analogous
#1D134C #3A134C #4C1341
triadic
#3A134C #4C3A13 #134C3A
tetradic
#3A134C #4C1D13 #254C13 #13414C
square
#3A134C #4C1D13 #254C13 #13414C
split-complementary
#3A134C #414C13 #134C1D
monochromatic
#130618 #15071B #3A134C #5F1F7D #852BAE

Accessibility & contrast

On white

15.25
#3A134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A134C
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A134C#FFFFFF#000000##FFFFFF
##3A134C1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#0F264B
Tritanopia (blue-blind)
#381F2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3a134c;
/* rgb */ color: rgb(58, 19, 76);
/* oklch */ color: oklch(27.9% 0.104 313.1);
Tailwind
colors: {
  custom: {
    50: '#73547e',
    500: '#3a134c',
    950: '#000000',
  },
}
SCSS
$custom: #3a134c;
$custom-light: #73547e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a134c",
  "rgb": {
    "r": 58,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 281.053,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27925,
    "c": 0.10414,
    "h": 313.1
  },
  "luminance": 0.01887
}

Semantic roles & 50–950 ramp

primary
#3A134C
secondary
#4F8536
accent
#E34577
background
#F7F5F7
surface
#EDE8EE
border
#C8C4C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3A134C

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

Preview Lab → · Contrast checker → · Palette generator →

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