#34104A#34104A

#34104A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.104 H 309.4°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#34104A
RGBrgb(52, 16, 74)
HSLhsl(277, 64%, 18%)
HSVhsv(277, 78%, 29%)
CMYKcmyk(29.7%, 78.4%, 0%, 71%)
CIE-LABlab(13.20, 29.24, -28.36)
CIE-LCHlch(13.20, 40.73, 315.87°)
OKLaboklab(26.47% 0.066 -0.0803)
OKLCHoklch(26.47% 0.104 309.4)
XYZxyz(2.8372, 1.5951, 6.6357)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34104A #264A10
analogous
#17104A #34104A #4A1043
triadic
#34104A #4A3410 #104A34
tetradic
#34104A #4A1710 #264A10 #10434A
square
#34104A #4A1710 #264A10 #10434A
split-complementary
#34104A #434A10 #104A17
monochromatic
#120519 #120519 #34104A #571B7C #7B26AF

Accessibility & contrast

On white

15.92
#34104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#34104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34104A
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34104A#FFFFFF#000000##FFFFFF
##34104A1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#052249
Tritanopia (blue-blind)
#311D2B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #34104a;
/* rgb */ color: rgb(52, 16, 74);
/* oklch */ color: oklch(26.5% 0.104 309.4);
Tailwind
colors: {
  custom: {
    50: '#6e527d',
    500: '#34104a',
    950: '#000000',
  },
}
SCSS
$custom: #34104a;
$custom-light: #6e527d;
$custom-dark: #000000;
JSON
{
  "hex": "#34104a",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 277.241,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26468,
    "c": 0.10394,
    "h": 309.4
  },
  "luminance": 0.01595
}

Semantic roles & 50–950 ramp

primary
#34104A
secondary
#518432
accent
#E74080
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #34104A

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

Preview Lab → · Contrast checker → · Palette generator →

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