#34196D#34196D

#34196D is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.135 H 291.0°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#34196D
RGBrgb(52, 25, 109)
HSLhsl(259, 63%, 26%)
HSVhsv(259, 77%, 43%)
CMYKcmyk(52.3%, 77.1%, 0%, 57.3%)
CIE-LABlab(18.05, 34.42, -43.93)
CIE-LCHlch(18.05, 55.81, 308.08°)
OKLaboklab(30.89% 0.0485 -0.1261)
OKLCHoklch(30.89% 0.135 291)
XYZxyz(4.5233, 2.5293, 14.7149)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34196D #526D19
analogous
#19286D #34196D #5E196D
triadic
#34196D #6D3419 #196D34
tetradic
#34196D #6D1928 #526D19 #196D5E
square
#34196D #6D1928 #526D19 #196D5E
split-complementary
#34196D #6D5E19 #286D19
monochromatic
#0C0619 #1C0E3B #34196D #4C249F #6431D0

Accessibility & contrast

On white

13.95
#34196D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34196D
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34196D#FFFFFF#000000##FFFFFF
##34196D1.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34196d;
/* rgb */ color: rgb(52, 25, 109);
/* oklch */ color: oklch(30.9% 0.135 291.0);
Tailwind
colors: {
  custom: {
    50: '#725998',
    500: '#34196d',
    950: '#000000',
  },
}
SCSS
$custom: #34196d;
$custom-light: #725998;
$custom-dark: #000000;
JSON
{
  "hex": "#34196d",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 109
  },
  "hsl": {
    "h": 259.286,
    "s": 62.687,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30888,
    "c": 0.13509,
    "h": 291
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#34196D
secondary
#83A23F
accent
#E642B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #34196D

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

Preview Lab → · Contrast checker → · Palette generator →

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