#34134C#34134C

#34134C is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.102 H 307.4°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#34134C
RGBrgb(52, 19, 76)
HSLhsl(275, 60%, 19%)
HSVhsv(275, 75%, 30%)
CMYKcmyk(31.6%, 75%, 0%, 70.2%)
CIE-LABlab(13.93, 28.18, -28.56)
CIE-LCHlch(13.93, 40.13, 314.62°)
OKLaboklab(27.04% 0.062 -0.0809)
OKLCHoklch(27.04% 0.102 307.4)
XYZxyz(2.9533, 1.7177, 7.0120)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34134C #2B4C13
analogous
#17134C #34134C #4C1347
triadic
#34134C #4C3413 #134C34
tetradic
#34134C #4C1713 #2B4C13 #13474C
square
#34134C #4C1713 #2B4C13 #13474C
split-complementary
#34134C #474C13 #134C17
monochromatic
#110618 #12071B #34134C #551F7D #772BAE

Accessibility & contrast

On white

15.63
#34134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34134C
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34134C#FFFFFF#000000##FFFFFF
##34134C1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#06244B
Tritanopia (blue-blind)
#301F2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #34134c;
/* rgb */ color: rgb(52, 19, 76);
/* oklch */ color: oklch(27.0% 0.102 307.4);
Tailwind
colors: {
  custom: {
    50: '#6e537e',
    500: '#34134c',
    950: '#000000',
  },
}
SCSS
$custom: #34134c;
$custom-light: #6e537e;
$custom-dark: #000000;
JSON
{
  "hex": "#34134c",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 274.737,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.2704,
    "c": 0.10192,
    "h": 307.4
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#34134C
secondary
#578536
accent
#E34587
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #34134C

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

Preview Lab → · Contrast checker → · Palette generator →

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