#34116F#34116F

#34116F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.146 H 291.9°. Best body text is #FFFFFF at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#34116F
RGBrgb(52, 17, 111)
HSLhsl(262, 73%, 25%)
HSVhsv(262, 85%, 44%)
CMYKcmyk(53.2%, 84.7%, 0%, 56.5%)
CIE-LABlab(16.89, 38.93, -47.14)
CIE-LCHlch(16.89, 61.14, 309.55°)
OKLaboklab(30.14% 0.0545 -0.1354)
OKLCHoklch(30.14% 0.146 291.9)
XYZxyz(4.4851, 2.2785, 15.2393)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34116F #4C6F11
analogous
#111D6F #34116F #63116F
triadic
#34116F #6F3411 #116F34
tetradic
#34116F #6F111D #4C6F11 #116F63
square
#34116F #6F111D #4C6F11 #116F63
split-complementary
#34116F #6F6311 #1D6F11
monochromatic
#0C041B #1B093A #34116F #4D19A4 #6621D9

Accessibility & contrast

On white

14.43
#34116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#34116F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34116F
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34116F#FFFFFF#000000##FFFFFF
##34116F1.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B72
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#202D41
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #34116f;
/* rgb */ color: rgb(52, 17, 111);
/* oklch */ color: oklch(30.1% 0.146 291.9);
Tailwind
colors: {
  custom: {
    50: '#735599',
    500: '#34116f',
    950: '#000000',
  },
}
SCSS
$custom: #34116f;
$custom-light: #735599;
$custom-dark: #000000;
JSON
{
  "hex": "#34116f",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 262.34,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30135,
    "c": 0.14599,
    "h": 291.9
  },
  "luminance": 0.02279
}

Semantic roles & 50–950 ramp

primary
#34116F
secondary
#7CA635
accent
#F038AB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #34116F

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

Preview Lab → · Contrast checker → · Palette generator →

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