#34104D#34104D

#34104D is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.107 H 307.5°. Best body text is #FFFFFF at 15.82:1 contrast (WCAG AA passes).

Color values

HEX#34104D
RGBrgb(52, 16, 77)
HSLhsl(275, 66%, 18%)
HSVhsv(275, 79%, 30%)
CMYKcmyk(32.5%, 79.2%, 0%, 69.8%)
CIE-LABlab(13.45, 30.02, -30.03)
CIE-LCHlch(13.45, 42.46, 315.00°)
OKLaboklab(26.73% 0.0655 -0.0852)
OKLCHoklch(26.73% 0.107 307.5)
XYZxyz(2.9407, 1.6365, 7.1807)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34104D #294D10
analogous
#15104D #34104D #4D1047
triadic
#34104D #4D3410 #104D34
tetradic
#34104D #4D1510 #294D10 #10474D
square
#34104D #4D1510 #294D10 #10474D
split-complementary
#34104D #474D10 #104D15
monochromatic
#110519 #12051A #34104D #561B80 #7825B2

Accessibility & contrast

On white

15.82
#34104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#34104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34104D
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34104D#FFFFFF#000000##FFFFFF
##34104D1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#01234C
Tritanopia (blue-blind)
#301E2D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #34104d;
/* rgb */ color: rgb(52, 16, 77);
/* oklch */ color: oklch(26.7% 0.107 307.5);
Tailwind
colors: {
  custom: {
    50: '#6e527f',
    500: '#34104d',
    950: '#000000',
  },
}
SCSS
$custom: #34104d;
$custom-light: #6e527f;
$custom-dark: #000000;
JSON
{
  "hex": "#34104d",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 275.41,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26725,
    "c": 0.10745,
    "h": 307.5
  },
  "luminance": 0.01636
}

Semantic roles & 50–950 ramp

primary
#34104D
secondary
#558732
accent
#E93F85
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #34104D

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

Preview Lab → · Contrast checker → · Palette generator →

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