#34199B#34199B

#34199B is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.190 H 280.3°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#34199B
RGBrgb(52, 25, 155)
HSLhsl(252, 72%, 35%)
HSVhsv(252, 84%, 61%)
CMYKcmyk(66.5%, 83.9%, 0%, 39.2%)
CIE-LABlab(22.97, 48.17, -64.85)
CIE-LCHlch(22.97, 80.79, 306.61°)
OKLaboklab(35.78% 0.034 -0.1872)
OKLCHoklch(35.78% 0.19 280.3)
XYZxyz(7.6783, 3.7913, 31.3311)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34199B #809B19
analogous
#193F9B #34199B #75199B
triadic
#34199B #9B3419 #199B34
tetradic
#34199B #9B193F #809B19 #199B75
square
#34199B #9B193F #809B19 #199B75
split-complementary
#34199B #9B7519 #3F9B19
monochromatic
#110832 #221166 #34199B #4622D0 #6B4CE2

Accessibility & contrast

On white

11.94
#34199B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#34199B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34199B
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34199B#FFFFFF#000000##FFFFFF
##34199B1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9E
Deuteranopia (green-blind)
#003299
Tritanopia (blue-blind)
#00425C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #34199b;
/* rgb */ color: rgb(52, 25, 155);
/* oklch */ color: oklch(35.8% 0.190 280.3);
Tailwind
colors: {
  custom: {
    50: '#7b5cba',
    500: '#34199b',
    950: '#000000',
  },
}
SCSS
$custom: #34199b;
$custom-light: #7b5cba;
$custom-dark: #000000;
JSON
{
  "hex": "#34199b",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 155
  },
  "hsl": {
    "h": 252.462,
    "s": 72.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35781,
    "c": 0.19026,
    "h": 280.3
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34199B

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

Preview Lab → · Contrast checker → · Palette generator →

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