#34114B#34114B

#34114B is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.104 H 308.5°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#34114B
RGBrgb(52, 17, 75)
HSLhsl(276, 63%, 18%)
HSVhsv(276, 77%, 29%)
CMYKcmyk(30.7%, 77.3%, 0%, 70.6%)
CIE-LABlab(13.47, 28.99, -28.62)
CIE-LCHlch(13.47, 40.74, 315.36°)
OKLaboklab(26.68% 0.0646 -0.0811)
OKLCHoklch(26.68% 0.104 308.5)
XYZxyz(2.8864, 1.6390, 6.8196)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34114B #284B11
analogous
#17114B #34114B #4B1145
triadic
#34114B #4B3411 #114B34
tetradic
#34114B #4B1711 #284B11 #11454B
square
#34114B #4B1711 #284B11 #11454B
split-complementary
#34114B #454B11 #114B17
monochromatic
#110619 #110619 #34114B #571C7D #7928AF

Accessibility & contrast

On white

15.82
#34114B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34114B
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34114B#FFFFFF#000000##FFFFFF
##34114B1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#05234A
Tritanopia (blue-blind)
#301E2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #34114b;
/* rgb */ color: rgb(52, 17, 75);
/* oklch */ color: oklch(26.7% 0.104 308.5);
Tailwind
colors: {
  custom: {
    50: '#6e527e',
    500: '#34114b',
    950: '#000000',
  },
}
SCSS
$custom: #34114b;
$custom-light: #6e527e;
$custom-dark: #000000;
JSON
{
  "hex": "#34114b",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 75
  },
  "hsl": {
    "h": 276.207,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26683,
    "c": 0.10368,
    "h": 308.5
  },
  "luminance": 0.01639
}

Semantic roles & 50–950 ramp

primary
#34114B
secondary
#548433
accent
#E64283
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #34114B

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

Preview Lab → · Contrast checker → · Palette generator →

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