#34196C#34196C

#34196C is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.134 H 291.3°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#34196C
RGBrgb(52, 25, 108)
HSLhsl(260, 62%, 26%)
HSVhsv(260, 77%, 42%)
CMYKcmyk(51.9%, 76.9%, 0%, 57.6%)
CIE-LABlab(17.95, 34.12, -43.43)
CIE-LCHlch(17.95, 55.23, 308.15°)
OKLaboklab(30.79% 0.0487 -0.1246)
OKLCHoklch(30.79% 0.134 291.3)
XYZxyz(4.4698, 2.5079, 14.4330)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34196C #516C19
analogous
#19276C #34196C #5D196C
triadic
#34196C #6C3419 #196C34
tetradic
#34196C #6C1927 #516C19 #196C5D
square
#34196C #6C1927 #516C19 #196C5D
split-complementary
#34196C #6C5D19 #276C19
monochromatic
#0C0619 #1C0D3A #34196C #4C259E #6430CF

Accessibility & contrast

On white

13.99
#34196C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#34196C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34196C
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34196C#FFFFFF#000000##FFFFFF
##34196C1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#002A6A
Tritanopia (blue-blind)
#212F41
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #34196c;
/* rgb */ color: rgb(52, 25, 108);
/* oklch */ color: oklch(30.8% 0.134 291.3);
Tailwind
colors: {
  custom: {
    50: '#725997',
    500: '#34196c',
    950: '#000000',
  },
}
SCSS
$custom: #34196c;
$custom-light: #725997;
$custom-dark: #000000;
JSON
{
  "hex": "#34196c",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 108
  },
  "hsl": {
    "h": 259.518,
    "s": 62.406,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3079,
    "c": 0.13383,
    "h": 291.3
  },
  "luminance": 0.02508
}

Semantic roles & 50–950 ramp

primary
#34196C
secondary
#82A13F
accent
#E542B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #34196C

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

Preview Lab → · Contrast checker → · Palette generator →

#34196C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva