#34216A#34216A

#34216A is a dark, vivid violet. Relative luminance 0.029; OKLCH L 31.8% C 0.121 H 289.7°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#34216A
RGBrgb(52, 33, 106)
HSLhsl(256, 53%, 27%)
HSVhsv(256, 69%, 42%)
CMYKcmyk(50.9%, 68.9%, 0%, 58.4%)
CIE-LABlab(19.47, 28.82, -39.66)
CIE-LCHlch(19.47, 49.03, 306.00°)
OKLaboklab(31.82% 0.0407 -0.1136)
OKLCHoklch(31.82% 0.121 289.7)
XYZxyz(4.5608, 2.8582, 13.9443)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34216A #576A21
analogous
#21336A #34216A #58216A
triadic
#34216A #6A3421 #216A34
tetradic
#34216A #6A2133 #576A21 #216A58
square
#34216A #6A2133 #576A21 #216A58
split-complementary
#34216A #6A5821 #336A21
monochromatic
#0B0717 #1D123B #34216A #4B3099 #6341C4

Accessibility & contrast

On white

13.36
#34216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#34216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34216A
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34216A#FFFFFF#000000##FFFFFF
##34216A1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316C
Deuteranopia (green-blind)
#002D69
Tritanopia (blue-blind)
#223342
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #34216a;
/* rgb */ color: rgb(52, 33, 106);
/* oklch */ color: oklch(31.8% 0.121 289.7);
Tailwind
colors: {
  custom: {
    50: '#715d95',
    500: '#34216a',
    950: '#000000',
  },
}
SCSS
$custom: #34216a;
$custom-light: #715d95;
$custom-dark: #000000;
JSON
{
  "hex": "#34216a",
  "rgb": {
    "r": 52,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 255.616,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31815,
    "c": 0.12069,
    "h": 289.7
  },
  "luminance": 0.02858
}

Semantic roles & 50–950 ramp

primary
#34216A
secondary
#889E49
accent
#DC4CB6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #34216A

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

Preview Lab → · Contrast checker → · Palette generator →

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