#34114A#34114A

#34114A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.102 H 309.2°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#34114A
RGBrgb(52, 17, 74)
HSLhsl(277, 63%, 18%)
HSVhsv(277, 77%, 29%)
CMYKcmyk(29.7%, 77%, 0%, 71%)
CIE-LABlab(13.38, 28.72, -28.06)
CIE-LCHlch(13.38, 40.16, 315.67°)
OKLaboklab(26.6% 0.0648 -0.0795)
OKLCHoklch(26.6% 0.102 309.2)
XYZxyz(2.8524, 1.6254, 6.6407)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34114A #274A11
analogous
#17114A #34114A #4A1143
triadic
#34114A #4A3411 #114A34
tetradic
#34114A #4A1711 #274A11 #11434A
square
#34114A #4A1711 #274A11 #11434A
split-complementary
#34114A #434A11 #114A17
monochromatic
#110619 #110619 #34114A #571C7C #7A28AE

Accessibility & contrast

On white

15.85
#34114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#34114A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34114A
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34114A#FFFFFF#000000##FFFFFF
##34114A1.0015.851.3315.85
#FFFFFF15.851.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#062349
Tritanopia (blue-blind)
#311E2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #34114a;
/* rgb */ color: rgb(52, 17, 74);
/* oklch */ color: oklch(26.6% 0.102 309.2);
Tailwind
colors: {
  custom: {
    50: '#6e527d',
    500: '#34114a',
    950: '#000000',
  },
}
SCSS
$custom: #34114a;
$custom-light: #6e527d;
$custom-dark: #000000;
JSON
{
  "hex": "#34114a",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 276.842,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26599,
    "c": 0.10249,
    "h": 309.2
  },
  "luminance": 0.01625
}

Semantic roles & 50–950 ramp

primary
#34114A
secondary
#528333
accent
#E64281
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #34114A

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

Preview Lab → · Contrast checker → · Palette generator →

#34114A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva