#34199A#34199A

#34199A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.189 H 280.5°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#34199A
RGBrgb(52, 25, 154)
HSLhsl(253, 72%, 35%)
HSVhsv(253, 84%, 60%)
CMYKcmyk(66.2%, 83.8%, 0%, 39.6%)
CIE-LABlab(22.85, 47.88, -64.43)
CIE-LCHlch(22.85, 80.27, 306.62°)
OKLaboklab(35.67% 0.0344 -0.186)
OKLCHoklch(35.67% 0.189 280.5)
XYZxyz(7.5947, 3.7578, 30.8907)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34199A #7F9A19
analogous
#193F9A #34199A #74199A
triadic
#34199A #9A3419 #199A34
tetradic
#34199A #9A193F #7F9A19 #199A74
square
#34199A #9A193F #7F9A19 #199A74
split-complementary
#34199A #9A7419 #3F9A19
monochromatic
#100831 #221065 #34199A #4622CF #6B4CE2

Accessibility & contrast

On white

11.99
#34199A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#34199A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34199A
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34199A#FFFFFF#000000##FFFFFF
##34199A1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9D
Deuteranopia (green-blind)
#003298
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #34199a;
/* rgb */ color: rgb(52, 25, 154);
/* oklch */ color: oklch(35.7% 0.189 280.5);
Tailwind
colors: {
  custom: {
    50: '#7b5bb9',
    500: '#34199a',
    950: '#000000',
  },
}
SCSS
$custom: #34199a;
$custom-light: #7b5bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#34199a",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 154
  },
  "hsl": {
    "h": 252.558,
    "s": 72.067,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35668,
    "c": 0.18911,
    "h": 280.5
  },
  "luminance": 0.03758
}

Semantic roles & 50–950 ramp

primary
#34199A
secondary
#AAC44B
accent
#EF39C9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #34199A

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

Preview Lab → · Contrast checker → · Palette generator →

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