#34134D#34134D

#34134D is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.103 H 306.8°. Best body text is #FFFFFF at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#34134D
RGBrgb(52, 19, 77)
HSLhsl(274, 60%, 19%)
HSVhsv(274, 75%, 30%)
CMYKcmyk(32.5%, 75.3%, 0%, 69.8%)
CIE-LABlab(14.01, 28.45, -29.12)
CIE-LCHlch(14.01, 40.71, 314.33°)
OKLaboklab(27.12% 0.0618 -0.0826)
OKLCHoklch(27.12% 0.103 306.8)
XYZxyz(2.9883, 1.7317, 7.1966)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34134D #2C4D13
analogous
#17134D #34134D #4D1349
triadic
#34134D #4D3413 #134D34
tetradic
#34134D #4D1713 #2C4D13 #13494D
square
#34134D #4D1713 #2C4D13 #13494D
split-complementary
#34134D #494D13 #134D17
monochromatic
#110619 #13071C #34134D #551F7E #762BAF

Accessibility & contrast

On white

15.60
#34134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#34134D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34134D
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34134D#FFFFFF#000000##FFFFFF
##34134D1.0015.601.3515.60
#FFFFFF15.601.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#04244C
Tritanopia (blue-blind)
#30202E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #34134d;
/* rgb */ color: rgb(52, 19, 77);
/* oklch */ color: oklch(27.1% 0.103 306.8);
Tailwind
colors: {
  custom: {
    50: '#6e547f',
    500: '#34134d',
    950: '#000000',
  },
}
SCSS
$custom: #34134d;
$custom-light: #6e547f;
$custom-dark: #000000;
JSON
{
  "hex": "#34134d",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 274.138,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27124,
    "c": 0.10314,
    "h": 306.8
  },
  "luminance": 0.01732
}

Semantic roles & 50–950 ramp

primary
#34134D
secondary
#588636
accent
#E44489
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #34134D

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

Preview Lab → · Contrast checker → · Palette generator →

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