#34105B#34105B

#34105B is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.0% C 0.124 H 300.1°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#34105B
RGBrgb(52, 16, 91)
HSLhsl(269, 70%, 21%)
HSVhsv(269, 82%, 36%)
CMYKcmyk(42.9%, 82.4%, 0%, 64.3%)
CIE-LABlab(14.71, 33.80, -37.49)
CIE-LCHlch(14.71, 50.48, 312.03°)
OKLaboklab(28.01% 0.062 -0.1071)
OKLCHoklch(28.01% 0.124 300.1)
XYZxyz(3.4893, 1.8559, 10.0699)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34105B #375B10
analogous
#10115B #34105B #59105B
triadic
#34105B #5B3410 #105B34
tetradic
#34105B #5B1011 #375B10 #105B59
square
#34105B #5B1011 #375B10 #105B59
split-complementary
#34105B #5B5910 #115B10
monochromatic
#0F051A #160727 #34105B #52198F #6F22C3

Accessibility & contrast

On white

15.32
#34105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#34105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34105B
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34105B#FFFFFF#000000##FFFFFF
##34105B1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#00245A
Tritanopia (blue-blind)
#2B2435
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #34105b;
/* rgb */ color: rgb(52, 16, 91);
/* oklch */ color: oklch(28.0% 0.124 300.1);
Tailwind
colors: {
  custom: {
    50: '#70538a',
    500: '#34105b',
    950: '#000000',
  },
}
SCSS
$custom: #34105b;
$custom-light: #70538a;
$custom-dark: #000000;
JSON
{
  "hex": "#34105b",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 268.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28008,
    "c": 0.12381,
    "h": 300.1
  },
  "luminance": 0.01856
}

Semantic roles & 50–950 ramp

primary
#34105B
secondary
#659433
accent
#ED3B97
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #34105B

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

Preview Lab → · Contrast checker → · Palette generator →

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