#35216C#35216C

#35216C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.1% C 0.123 H 289.9°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#35216C
RGBrgb(53, 33, 108)
HSLhsl(256, 53%, 28%)
HSVhsv(256, 69%, 42%)
CMYKcmyk(50.9%, 69.4%, 0%, 57.6%)
CIE-LABlab(19.75, 29.67, -40.50)
CIE-LCHlch(19.75, 50.20, 306.22°)
OKLaboklab(32.1% 0.042 -0.116)
OKLCHoklch(32.1% 0.123 289.9)
XYZxyz(4.7181, 2.9271, 14.5008)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35216C #586C21
analogous
#21336C #35216C #5A216C
triadic
#35216C #6C3521 #216C35
tetradic
#35216C #6C2133 #586C21 #216C5A
square
#35216C #6C2133 #586C21 #216C5A
split-complementary
#35216C #6C5A21 #336C21
monochromatic
#0C0717 #1E133D #35216C #4C2F9B #6542C5

Accessibility & contrast

On white

13.25
#35216C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35216C
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35216C#FFFFFF#000000##FFFFFF
##35216C1.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#233343
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #35216c;
/* rgb */ color: rgb(53, 33, 108);
/* oklch */ color: oklch(32.1% 0.123 289.9);
Tailwind
colors: {
  custom: {
    50: '#725e97',
    500: '#35216c',
    950: '#000000',
  },
}
SCSS
$custom: #35216c;
$custom-light: #725e97;
$custom-dark: #000000;
JSON
{
  "hex": "#35216c",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 108
  },
  "hsl": {
    "h": 256,
    "s": 53.191,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32099,
    "c": 0.1234,
    "h": 289.9
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#35216C
secondary
#89A049
accent
#DD4BB6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #35216C

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

Preview Lab → · Contrast checker → · Palette generator →

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