#35216D#35216D

#35216D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.125 H 289.6°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#35216D
RGBrgb(53, 33, 109)
HSLhsl(256, 54%, 28%)
HSVhsv(256, 70%, 43%)
CMYKcmyk(51.4%, 69.7%, 0%, 57.3%)
CIE-LABlab(19.84, 29.98, -41.01)
CIE-LCHlch(19.84, 50.80, 306.17°)
OKLaboklab(32.19% 0.0419 -0.1175)
OKLCHoklch(32.19% 0.125 289.6)
XYZxyz(4.7716, 2.9485, 14.7827)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35216D #596D21
analogous
#21336D #35216D #5B216D
triadic
#35216D #6D3521 #216D35
tetradic
#35216D #6D2133 #596D21 #216D5B
square
#35216D #6D2133 #596D21 #216D5B
split-complementary
#35216D #6D5B21 #336D21
monochromatic
#0B0717 #1E133E #35216D #4C2F9C #6542C6

Accessibility & contrast

On white

13.21
#35216D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#35216D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35216D
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35216D#FFFFFF#000000##FFFFFF
##35216D1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#002E6B
Tritanopia (blue-blind)
#223444
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #35216d;
/* rgb */ color: rgb(53, 33, 109);
/* oklch */ color: oklch(32.2% 0.125 289.6);
Tailwind
colors: {
  custom: {
    50: '#725e98',
    500: '#35216d',
    950: '#000000',
  },
}
SCSS
$custom: #35216d;
$custom-light: #725e98;
$custom-dark: #000000;
JSON
{
  "hex": "#35216d",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 109
  },
  "hsl": {
    "h": 255.789,
    "s": 53.521,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32189,
    "c": 0.12475,
    "h": 289.6
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#35216D
secondary
#8AA149
accent
#DD4BB6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #35216D

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

Preview Lab → · Contrast checker → · Palette generator →

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