#3A114B#3A114B

#3A114B is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.106 H 314.1°. Best body text is #FFFFFF at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#3A114B
RGBrgb(58, 17, 75)
HSLhsl(282, 63%, 18%)
HSVhsv(282, 77%, 29%)
CMYKcmyk(22.7%, 77.3%, 0%, 70.6%)
CIE-LABlab(14.45, 30.46, -26.99)
CIE-LCHlch(14.45, 40.70, 318.46°)
OKLaboklab(27.59% 0.0738 -0.0761)
OKLCHoklch(27.59% 0.106 314.1)
XYZxyz(3.2152, 1.8085, 6.8350)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A114B #224B11
analogous
#1D114B #3A114B #4B113F
triadic
#3A114B #4B3A11 #114B3A
tetradic
#3A114B #4B1D11 #224B11 #113F4B
square
#3A114B #4B1D11 #224B11 #113F4B
split-complementary
#3A114B #3F4B11 #114B1D
monochromatic
#130619 #130619 #3A114B #611C7D #8728AF

Accessibility & contrast

On white

15.42
#3A114B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A114B
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A114B#FFFFFF#000000##FFFFFF
##3A114B1.0015.421.3615.42
#FFFFFF15.421.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#0E264A
Tritanopia (blue-blind)
#381D2C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3a114b;
/* rgb */ color: rgb(58, 17, 75);
/* oklch */ color: oklch(27.6% 0.106 314.1);
Tailwind
colors: {
  custom: {
    50: '#73537e',
    500: '#3a114b',
    950: '#000000',
  },
}
SCSS
$custom: #3a114b;
$custom-light: #73537e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a114b",
  "rgb": {
    "r": 58,
    "g": 17,
    "b": 75
  },
  "hsl": {
    "h": 282.414,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27589,
    "c": 0.10597,
    "h": 314.1
  },
  "luminance": 0.01808
}

Semantic roles & 50–950 ramp

primary
#3A114B
secondary
#4B8433
accent
#E64272
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3A114B

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

Preview Lab → · Contrast checker → · Palette generator →

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