#34134A#34134A

#34134A is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.099 H 308.7°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#34134A
RGBrgb(52, 19, 74)
HSLhsl(276, 59%, 18%)
HSVhsv(276, 74%, 29%)
CMYKcmyk(29.7%, 74.3%, 0%, 71%)
CIE-LABlab(13.77, 27.65, -27.44)
CIE-LCHlch(13.77, 38.95, 315.21°)
OKLaboklab(26.88% 0.0622 -0.0776)
OKLCHoklch(26.88% 0.099 308.7)
XYZxyz(2.8848, 1.6903, 6.6515)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34134A #294A13
analogous
#18134A #34134A #4A1344
triadic
#34134A #4A3413 #134A34
tetradic
#34134A #4A1813 #294A13 #13444A
square
#34134A #4A1813 #294A13 #13444A
split-complementary
#34134A #444A13 #134A18
monochromatic
#110618 #120619 #34134A #56207B #782CAB

Accessibility & contrast

On white

15.70
#34134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#34134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34134A
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34134A#FFFFFF#000000##FFFFFF
##34134A1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#092449
Tritanopia (blue-blind)
#311F2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #34134a;
/* rgb */ color: rgb(52, 19, 74);
/* oklch */ color: oklch(26.9% 0.099 308.7);
Tailwind
colors: {
  custom: {
    50: '#6e537d',
    500: '#34134a',
    950: '#000000',
  },
}
SCSS
$custom: #34134a;
$custom-light: #6e537d;
$custom-dark: #000000;
JSON
{
  "hex": "#34134a",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 276,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26875,
    "c": 0.09947,
    "h": 308.7
  },
  "luminance": 0.0169
}

Semantic roles & 50–950 ramp

primary
#34134A
secondary
#558336
accent
#E24584
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #34134A

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

Preview Lab → · Contrast checker → · Palette generator →

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