#3A114F#3A114F

#3A114F is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.110 H 311.6°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#3A114F
RGBrgb(58, 17, 79)
HSLhsl(280, 65%, 19%)
HSVhsv(280, 78%, 31%)
CMYKcmyk(26.6%, 78.5%, 0%, 69%)
CIE-LABlab(14.76, 31.44, -29.23)
CIE-LCHlch(14.76, 42.93, 317.09°)
OKLaboklab(27.91% 0.0733 -0.0826)
OKLCHoklch(27.91% 0.11 311.6)
XYZxyz(3.3564, 1.8650, 7.5788)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A114F #264F11
analogous
#1B114F #3A114F #4F1145
triadic
#3A114F #4F3A11 #114F3A
tetradic
#3A114F #4F1B11 #264F11 #11454F
square
#3A114F #4F1B11 #264F11 #11454F
split-complementary
#3A114F #454F11 #114F1B
monochromatic
#120519 #15061D #3A114F #5F1C81 #8427B4

Accessibility & contrast

On white

15.29
#3A114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A114F
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A114F#FFFFFF#000000##FFFFFF
##3A114F1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#08264E
Tritanopia (blue-blind)
#371F2E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3a114f;
/* rgb */ color: rgb(58, 17, 79);
/* oklch */ color: oklch(27.9% 0.110 311.6);
Tailwind
colors: {
  custom: {
    50: '#735381',
    500: '#3a114f',
    950: '#000000',
  },
}
SCSS
$custom: #3a114f;
$custom-light: #735381;
$custom-dark: #000000;
JSON
{
  "hex": "#3a114f",
  "rgb": {
    "r": 58,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 279.677,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27913,
    "c": 0.11043,
    "h": 311.6
  },
  "luminance": 0.01865
}

Semantic roles & 50–950 ramp

primary
#3A114F
secondary
#508833
accent
#E84079
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #3A114F

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

Preview Lab → · Contrast checker → · Palette generator →

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