#34196E#34196E

#34196E is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.136 H 290.7°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#34196E
RGBrgb(52, 25, 110)
HSLhsl(259, 63%, 26%)
HSVhsv(259, 77%, 43%)
CMYKcmyk(52.7%, 77.3%, 0%, 56.9%)
CIE-LABlab(18.15, 34.73, -44.42)
CIE-LCHlch(18.15, 56.38, 308.02°)
OKLaboklab(30.99% 0.0482 -0.1275)
OKLCHoklch(30.99% 0.136 290.7)
XYZxyz(4.5775, 2.5509, 15.0000)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34196E #536E19
analogous
#19296E #34196E #5F196E
triadic
#34196E #6E3419 #196E34
tetradic
#34196E #6E1929 #536E19 #196E5F
square
#34196E #6E1929 #536E19 #196E5F
split-complementary
#34196E #6E5F19 #296E19
monochromatic
#0C0619 #1C0E3C #34196E #4C24A0 #6431D0

Accessibility & contrast

On white

13.91
#34196E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#34196E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34196E
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34196E#FFFFFF#000000##FFFFFF
##34196E1.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#203042
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #34196e;
/* rgb */ color: rgb(52, 25, 110);
/* oklch */ color: oklch(31.0% 0.136 290.7);
Tailwind
colors: {
  custom: {
    50: '#725998',
    500: '#34196e',
    950: '#000000',
  },
}
SCSS
$custom: #34196e;
$custom-light: #725998;
$custom-dark: #000000;
JSON
{
  "hex": "#34196e",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 110
  },
  "hsl": {
    "h": 259.059,
    "s": 62.963,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30986,
    "c": 0.13634,
    "h": 290.7
  },
  "luminance": 0.02551
}

Semantic roles & 50–950 ramp

primary
#34196E
secondary
#84A33F
accent
#E642B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #34196E

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

Preview Lab → · Contrast checker → · Palette generator →

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