#3A114E#3A114E

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

Color values

HEX#3A114E
RGBrgb(58, 17, 78)
HSLhsl(280, 64%, 19%)
HSVhsv(280, 78%, 31%)
CMYKcmyk(25.6%, 78.2%, 0%, 69.4%)
CIE-LABlab(14.68, 31.20, -28.67)
CIE-LCHlch(14.68, 42.37, 317.41°)
OKLaboklab(27.83% 0.0734 -0.081)
OKLCHoklch(27.83% 0.109 312.2)
XYZxyz(3.3203, 1.8506, 7.3885)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A114E #254E11
analogous
#1B114E #3A114E #4E1143
triadic
#3A114E #4E3A11 #114E3A
tetradic
#3A114E #4E1B11 #254E11 #11434E
square
#3A114E #4E1B11 #254E11 #11434E
split-complementary
#3A114E #434E11 #114E1B
monochromatic
#130519 #15061C #3A114E #5F1C80 #8527B2

Accessibility & contrast

On white

15.33
#3A114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A114E
15.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A114E#FFFFFF#000000##FFFFFF
##3A114E1.0015.331.3715.33
#FFFFFF15.331.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#0A264D
Tritanopia (blue-blind)
#381E2E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3a114e;
/* rgb */ color: rgb(58, 17, 78);
/* oklch */ color: oklch(27.8% 0.109 312.2);
Tailwind
colors: {
  custom: {
    50: '#735380',
    500: '#3a114e',
    950: '#000000',
  },
}
SCSS
$custom: #3a114e;
$custom-light: #735380;
$custom-dark: #000000;
JSON
{
  "hex": "#3a114e",
  "rgb": {
    "r": 58,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 280.328,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27831,
    "c": 0.10931,
    "h": 312.2
  },
  "luminance": 0.0185
}

Semantic roles & 50–950 ramp

primary
#3A114E
secondary
#4F8733
accent
#E74177
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3A114E

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

Preview Lab → · Contrast checker → · Palette generator →

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