#34105F#34105F

#34105F is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.128 H 298.3°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#34105F
RGBrgb(52, 16, 95)
HSLhsl(267, 71%, 22%)
HSVhsv(267, 83%, 37%)
CMYKcmyk(45.3%, 83.2%, 0%, 62.7%)
CIE-LABlab(15.10, 34.90, -39.54)
CIE-LCHlch(15.10, 52.74, 311.43°)
OKLaboklab(28.4% 0.0608 -0.1132)
OKLCHoklch(28.4% 0.128 298.3)
XYZxyz(3.6665, 1.9268, 11.0030)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34105F #3B5F10
analogous
#10145F #34105F #5C105F
triadic
#34105F #5F3410 #105F34
tetradic
#34105F #5F1014 #3B5F10 #105F5C
square
#34105F #5F1014 #3B5F10 #105F5C
split-complementary
#34105F #5F5C10 #145F10
monochromatic
#0E041A #17072B #34105F #511993 #6D22C8

Accessibility & contrast

On white

15.16
#34105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#34105F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34105F
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34105F#FFFFFF#000000##FFFFFF
##34105F1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00255D
Tritanopia (blue-blind)
#292637
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #34105f;
/* rgb */ color: rgb(52, 16, 95);
/* oklch */ color: oklch(28.4% 0.128 298.3);
Tailwind
colors: {
  custom: {
    50: '#71538d',
    500: '#34105f',
    950: '#000000',
  },
}
SCSS
$custom: #34105f;
$custom-light: #71538d;
$custom-dark: #000000;
JSON
{
  "hex": "#34105f",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 267.342,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28397,
    "c": 0.12846,
    "h": 298.3
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#34105F
secondary
#6A9833
accent
#EE3A9C
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #34105F

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

Preview Lab → · Contrast checker → · Palette generator →

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