#3A114C#3A114C

#3A114C is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.107 H 313.5°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#3A114C
RGBrgb(58, 17, 76)
HSLhsl(282, 63%, 18%)
HSVhsv(282, 78%, 30%)
CMYKcmyk(23.7%, 77.6%, 0%, 70.2%)
CIE-LABlab(14.53, 30.71, -27.55)
CIE-LCHlch(14.53, 41.26, 318.10°)
OKLaboklab(27.67% 0.0737 -0.0777)
OKLCHoklch(27.67% 0.107 313.5)
XYZxyz(3.2497, 1.8223, 7.0166)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A114C #234C11
analogous
#1C114C #3A114C #4C1140
triadic
#3A114C #4C3A11 #114C3A
tetradic
#3A114C #4C1C11 #234C11 #11404C
square
#3A114C #4C1C11 #234C11 #11404C
split-complementary
#3A114C #404C11 #114C1C
monochromatic
#130619 #14061A #3A114C #601C7E #8627B0

Accessibility & contrast

On white

15.39
#3A114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3A114C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A114C
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A114C#FFFFFF#000000##FFFFFF
##3A114C1.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a114c;
/* rgb */ color: rgb(58, 17, 76);
/* oklch */ color: oklch(27.7% 0.107 313.5);
Tailwind
colors: {
  custom: {
    50: '#73537e',
    500: '#3a114c',
    950: '#000000',
  },
}
SCSS
$custom: #3a114c;
$custom-light: #73537e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a114c",
  "rgb": {
    "r": 58,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 281.695,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27669,
    "c": 0.10707,
    "h": 313.5
  },
  "luminance": 0.01822
}

Semantic roles & 50–950 ramp

primary
#3A114C
secondary
#4C8533
accent
#E64174
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3A114C

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

Preview Lab → · Contrast checker → · Palette generator →

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