#34114C#34114C

#34114C is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.105 H 307.9°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#34114C
RGBrgb(52, 17, 76)
HSLhsl(276, 63%, 18%)
HSVhsv(276, 78%, 30%)
CMYKcmyk(31.6%, 77.6%, 0%, 70.2%)
CIE-LABlab(13.55, 29.25, -29.18)
CIE-LCHlch(13.55, 41.32, 315.07°)
OKLaboklab(26.77% 0.0644 -0.0827)
OKLCHoklch(26.77% 0.105 307.9)
XYZxyz(2.9209, 1.6528, 7.0012)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34114C #294C11
analogous
#16114C #34114C #4C1146
triadic
#34114C #4C3411 #114C34
tetradic
#34114C #4C1611 #294C11 #11464C
square
#34114C #4C1611 #294C11 #11464C
split-complementary
#34114C #464C11 #114C16
monochromatic
#110619 #12061A #34114C #561C7E #7827B0

Accessibility & contrast

On white

15.78
#34114C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34114C
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34114C#FFFFFF#000000##FFFFFF
##34114C1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#03234B
Tritanopia (blue-blind)
#301E2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #34114c;
/* rgb */ color: rgb(52, 17, 76);
/* oklch */ color: oklch(26.8% 0.105 307.9);
Tailwind
colors: {
  custom: {
    50: '#6e527e',
    500: '#34114c',
    950: '#000000',
  },
}
SCSS
$custom: #34114c;
$custom-light: #6e527e;
$custom-dark: #000000;
JSON
{
  "hex": "#34114c",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 76
  },
  "hsl": {
    "h": 275.593,
    "s": 63.441,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26768,
    "c": 0.10487,
    "h": 307.9
  },
  "luminance": 0.01653
}

Semantic roles & 50–950 ramp

primary
#34114C
secondary
#558533
accent
#E64185
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #34114C

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

Preview Lab → · Contrast checker → · Palette generator →

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