#34114F#34114F

#34114F is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.108 H 306.1°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#34114F
RGBrgb(52, 17, 79)
HSLhsl(274, 65%, 19%)
HSVhsv(274, 78%, 31%)
CMYKcmyk(34.2%, 78.5%, 0%, 69%)
CIE-LABlab(13.80, 30.05, -30.83)
CIE-LCHlch(13.80, 43.05, 314.26°)
OKLaboklab(27.03% 0.0639 -0.0876)
OKLCHoklch(27.03% 0.108 306.1)
XYZxyz(3.0276, 1.6955, 7.5634)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34114F #2C4F11
analogous
#15114F #34114F #4F114B
triadic
#34114F #4F3411 #114F34
tetradic
#34114F #4F1511 #2C4F11 #114B4F
square
#34114F #4F1511 #2C4F11 #114B4F
split-complementary
#34114F #4B4F11 #114F15
monochromatic
#110519 #13061D #34114F #551C81 #7627B4

Accessibility & contrast

On white

15.68
#34114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#34114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34114F
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34114F#FFFFFF#000000##FFFFFF
##34114F1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#2F1F2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #34114f;
/* rgb */ color: rgb(52, 17, 79);
/* oklch */ color: oklch(27.0% 0.108 306.1);
Tailwind
colors: {
  custom: {
    50: '#6f5381',
    500: '#34114f',
    950: '#000000',
  },
}
SCSS
$custom: #34114f;
$custom-light: #6f5381;
$custom-dark: #000000;
JSON
{
  "hex": "#34114f",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 273.871,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27027,
    "c": 0.10843,
    "h": 306.1
  },
  "luminance": 0.01695
}

Semantic roles & 50–950 ramp

primary
#34114F
secondary
#588833
accent
#E84089
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #34114F

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

Preview Lab → · Contrast checker → · Palette generator →

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