#34105E#34105E

#34105E is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.127 H 298.7°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#34105E
RGBrgb(52, 16, 94)
HSLhsl(268, 71%, 22%)
HSVhsv(268, 83%, 37%)
CMYKcmyk(44.7%, 83%, 0%, 63.1%)
CIE-LABlab(15.00, 34.62, -39.03)
CIE-LCHlch(15.00, 52.17, 311.57°)
OKLaboklab(28.3% 0.0611 -0.1117)
OKLCHoklch(28.3% 0.127 298.7)
XYZxyz(3.6213, 1.9087, 10.7651)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34105E #3A5E10
analogous
#10135E #34105E #5B105E
triadic
#34105E #5E3410 #105E34
tetradic
#34105E #5E1013 #3A5E10 #105E5B
square
#34105E #5E1013 #3A5E10 #105E5B
split-complementary
#34105E #5E5B10 #135E10
monochromatic
#0E041A #17072A #34105E #511992 #6E22C7

Accessibility & contrast

On white

15.20
#34105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#34105E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34105E
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34105E#FFFFFF#000000##FFFFFF
##34105E1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00255D
Tritanopia (blue-blind)
#2A2537
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #34105e;
/* rgb */ color: rgb(52, 16, 94);
/* oklch */ color: oklch(28.3% 0.127 298.7);
Tailwind
colors: {
  custom: {
    50: '#71538c',
    500: '#34105e',
    950: '#000000',
  },
}
SCSS
$custom: #34105e;
$custom-light: #71538c;
$custom-dark: #000000;
JSON
{
  "hex": "#34105e",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 267.692,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28299,
    "c": 0.1273,
    "h": 298.7
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#34105E
secondary
#699733
accent
#EE3A9B
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #34105E

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

Preview Lab → · Contrast checker → · Palette generator →

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