#34104B#34104B

#34104B is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.105 H 308.8°. Best body text is #FFFFFF at 15.89:1 contrast (WCAG AA passes).

Color values

HEX#34104B
RGBrgb(52, 16, 75)
HSLhsl(277, 65%, 18%)
HSVhsv(277, 79%, 29%)
CMYKcmyk(30.7%, 78.7%, 0%, 70.6%)
CIE-LABlab(13.28, 29.50, -28.92)
CIE-LCHlch(13.28, 41.31, 315.57°)
OKLaboklab(26.55% 0.0658 -0.0819)
OKLCHoklch(26.55% 0.105 308.8)
XYZxyz(2.8712, 1.6087, 6.8145)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34104B #274B10
analogous
#16104B #34104B #4B1044
triadic
#34104B #4B3410 #104B34
tetradic
#34104B #4B1610 #274B10 #10444B
square
#34104B #4B1610 #274B10 #10444B
split-complementary
#34104B #444B10 #104B16
monochromatic
#110519 #110519 #34104B #571B7D #7A26B0

Accessibility & contrast

On white

15.89
#34104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34104B
15.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34104B#FFFFFF#000000##FFFFFF
##34104B1.0015.891.3215.89
#FFFFFF15.891.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#03234A
Tritanopia (blue-blind)
#311D2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #34104b;
/* rgb */ color: rgb(52, 16, 75);
/* oklch */ color: oklch(26.6% 0.105 308.8);
Tailwind
colors: {
  custom: {
    50: '#6e527e',
    500: '#34104b',
    950: '#000000',
  },
}
SCSS
$custom: #34104b;
$custom-light: #6e527e;
$custom-dark: #000000;
JSON
{
  "hex": "#34104b",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 276.61,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26553,
    "c": 0.10511,
    "h": 308.8
  },
  "luminance": 0.01609
}

Semantic roles & 50–950 ramp

primary
#34104B
secondary
#528532
accent
#E84081
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #34104B

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

Preview Lab → · Contrast checker → · Palette generator →

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