#34196A#34196A

#34196A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.131 H 292.0°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#34196A
RGBrgb(52, 25, 106)
HSLhsl(260, 62%, 26%)
HSVhsv(260, 76%, 42%)
CMYKcmyk(50.9%, 76.4%, 0%, 58.4%)
CIE-LABlab(17.76, 33.52, -42.44)
CIE-LCHlch(17.76, 54.08, 308.30°)
OKLaboklab(30.6% 0.0492 -0.1217)
OKLCHoklch(30.6% 0.131 292)
XYZxyz(4.3646, 2.4658, 13.8788)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34196A #4F6A19
analogous
#19266A #34196A #5C196A
triadic
#34196A #6A3419 #196A34
tetradic
#34196A #6A1926 #4F6A19 #196A5C
square
#34196A #6A1926 #4F6A19 #196A5C
split-complementary
#34196A #6A5C19 #266A19
monochromatic
#0C0619 #1C0D38 #34196A #4C259C #6530CD

Accessibility & contrast

On white

14.06
#34196A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#34196A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34196A
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34196A#FFFFFF#000000##FFFFFF
##34196A1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#232E40
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #34196a;
/* rgb */ color: rgb(52, 25, 106);
/* oklch */ color: oklch(30.6% 0.131 292.0);
Tailwind
colors: {
  custom: {
    50: '#725895',
    500: '#34196a',
    950: '#000000',
  },
}
SCSS
$custom: #34196a;
$custom-light: #725895;
$custom-dark: #000000;
JSON
{
  "hex": "#34196a",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 106
  },
  "hsl": {
    "h": 260,
    "s": 61.832,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30596,
    "c": 0.13131,
    "h": 292
  },
  "luminance": 0.02466
}

Semantic roles & 50–950 ramp

primary
#34196A
secondary
#7FA03F
accent
#E543AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #34196A

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

Preview Lab → · Contrast checker → · Palette generator →

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