#34114D#34114D

#34114D is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.106 H 307.3°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#34114D
RGBrgb(52, 17, 77)
HSLhsl(275, 64%, 18%)
HSVhsv(275, 78%, 30%)
CMYKcmyk(32.5%, 77.9%, 0%, 69.8%)
CIE-LABlab(13.63, 29.52, -29.73)
CIE-LCHlch(13.63, 41.90, 314.79°)
OKLaboklab(26.85% 0.0643 -0.0844)
OKLCHoklch(26.85% 0.106 307.3)
XYZxyz(2.9559, 1.6668, 7.1857)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34114D #2A4D11
analogous
#16114D #34114D #4D1148
triadic
#34114D #4D3411 #114D34
tetradic
#34114D #4D1611 #2A4D11 #11484D
square
#34114D #4D1611 #2A4D11 #11484D
split-complementary
#34114D #484D11 #114D16
monochromatic
#110619 #12061B #34114D #561C7F #7827B1

Accessibility & contrast

On white

15.75
#34114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34114D
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34114D#FFFFFF#000000##FFFFFF
##34114D1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#02234C
Tritanopia (blue-blind)
#301F2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #34114d;
/* rgb */ color: rgb(52, 17, 77);
/* oklch */ color: oklch(26.9% 0.106 307.3);
Tailwind
colors: {
  custom: {
    50: '#6e527f',
    500: '#34114d',
    950: '#000000',
  },
}
SCSS
$custom: #34114d;
$custom-light: #6e527f;
$custom-dark: #000000;
JSON
{
  "hex": "#34114d",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 275,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26853,
    "c": 0.10606,
    "h": 307.3
  },
  "luminance": 0.01667
}

Semantic roles & 50–950 ramp

primary
#34114D
secondary
#568633
accent
#E74186
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #34114D

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

Preview Lab → · Contrast checker → · Palette generator →

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