#3A114D#3A114D

#3A114D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.8% C 0.108 H 312.8°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#3A114D
RGBrgb(58, 17, 77)
HSLhsl(281, 64%, 18%)
HSVhsv(281, 78%, 30%)
CMYKcmyk(24.7%, 77.9%, 0%, 69.8%)
CIE-LABlab(14.60, 30.95, -28.11)
CIE-LCHlch(14.60, 41.81, 317.75°)
OKLaboklab(27.75% 0.0735 -0.0794)
OKLCHoklch(27.75% 0.108 312.8)
XYZxyz(3.2847, 1.8364, 7.2012)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A114D #244D11
analogous
#1C114D #3A114D #4D1142
triadic
#3A114D #4D3A11 #114D3A
tetradic
#3A114D #4D1C11 #244D11 #11424D
square
#3A114D #4D1C11 #244D11 #11424D
split-complementary
#3A114D #424D11 #114D1C
monochromatic
#130619 #14061B #3A114D #601C7F #8627B1

Accessibility & contrast

On white

15.36
#3A114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A114D
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A114D#FFFFFF#000000##FFFFFF
##3A114D1.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#0B264C
Tritanopia (blue-blind)
#381E2D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3a114d;
/* rgb */ color: rgb(58, 17, 77);
/* oklch */ color: oklch(27.8% 0.108 312.8);
Tailwind
colors: {
  custom: {
    50: '#73537f',
    500: '#3a114d',
    950: '#000000',
  },
}
SCSS
$custom: #3a114d;
$custom-light: #73537f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a114d",
  "rgb": {
    "r": 58,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 281,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.2775,
    "c": 0.1082,
    "h": 312.8
  },
  "luminance": 0.01836
}

Semantic roles & 50–950 ramp

primary
#3A114D
secondary
#4E8633
accent
#E74175
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3A114D

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

Preview Lab → · Contrast checker → · Palette generator →

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