#34105A#34105A

#34105A is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.9% C 0.123 H 300.5°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#34105A
RGBrgb(52, 16, 90)
HSLhsl(269, 70%, 21%)
HSVhsv(269, 82%, 35%)
CMYKcmyk(42.2%, 82.2%, 0%, 64.7%)
CIE-LABlab(14.62, 33.52, -36.98)
CIE-LCHlch(14.62, 49.91, 312.20°)
OKLaboklab(27.91% 0.0623 -0.1056)
OKLCHoklch(27.91% 0.123 300.5)
XYZxyz(3.4465, 1.8388, 9.8442)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34105A #365A10
analogous
#10115A #34105A #59105A
triadic
#34105A #5A3410 #105A34
tetradic
#34105A #5A1011 #365A10 #105A59
square
#34105A #5A1011 #365A10 #105A59
split-complementary
#34105A #5A5910 #115A10
monochromatic
#0F051A #160726 #34105A #52198E #7022C2

Accessibility & contrast

On white

15.35
#34105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34105A
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34105A#FFFFFF#000000##FFFFFF
##34105A1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#002459
Tritanopia (blue-blind)
#2B2334
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #34105a;
/* rgb */ color: rgb(52, 16, 90);
/* oklch */ color: oklch(27.9% 0.123 300.5);
Tailwind
colors: {
  custom: {
    50: '#705389',
    500: '#34105a',
    950: '#000000',
  },
}
SCSS
$custom: #34105a;
$custom-light: #705389;
$custom-dark: #000000;
JSON
{
  "hex": "#34105a",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 269.189,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27912,
    "c": 0.12265,
    "h": 300.5
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#34105A
secondary
#649333
accent
#ED3B96
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #34105A

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

Preview Lab → · Contrast checker → · Palette generator →

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