#35216A#35216A

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

Color values

HEX#35216A
RGBrgb(53, 33, 106)
HSLhsl(256, 53%, 27%)
HSVhsv(256, 69%, 42%)
CMYKcmyk(50%, 68.9%, 0%, 58.4%)
CIE-LABlab(19.58, 29.03, -39.48)
CIE-LCHlch(19.58, 49.00, 306.33°)
OKLaboklab(31.92% 0.0423 -0.113)
OKLCHoklch(31.92% 0.121 290.5)
XYZxyz(4.6128, 2.8850, 13.9467)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35216A #566A21
analogous
#21326A #35216A #59216A
triadic
#35216A #6A3521 #216A35
tetradic
#35216A #6A2132 #566A21 #216A59
square
#35216A #6A2132 #566A21 #216A59
split-complementary
#35216A #6A5921 #326A21
monochromatic
#0C0717 #1E123B #35216A #4C3099 #6541C4

Accessibility & contrast

On white

13.32
#35216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#35216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35216A
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35216A#FFFFFF#000000##FFFFFF
##35216A1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35216a;
/* rgb */ color: rgb(53, 33, 106);
/* oklch */ color: oklch(31.9% 0.121 290.5);
Tailwind
colors: {
  custom: {
    50: '#725d95',
    500: '#35216a',
    950: '#000000',
  },
}
SCSS
$custom: #35216a;
$custom-light: #725d95;
$custom-dark: #000000;
JSON
{
  "hex": "#35216a",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 256.438,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31921,
    "c": 0.12067,
    "h": 290.5
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

primary
#35216A
secondary
#879E49
accent
#DC4CB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #35216A

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

Preview Lab → · Contrast checker → · Palette generator →

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