#35216B#35216B

#35216B is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.0% C 0.122 H 290.2°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#35216B
RGBrgb(53, 33, 107)
HSLhsl(256, 53%, 27%)
HSVhsv(256, 69%, 42%)
CMYKcmyk(50.5%, 69.2%, 0%, 58%)
CIE-LABlab(19.66, 29.35, -39.99)
CIE-LCHlch(19.66, 49.60, 306.27°)
OKLaboklab(32.01% 0.0421 -0.1145)
OKLCHoklch(32.01% 0.122 290.2)
XYZxyz(4.6651, 2.9060, 14.2222)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35216B #576B21
analogous
#21326B #35216B #5A216B
triadic
#35216B #6B3521 #216B35
tetradic
#35216B #6B2132 #576B21 #216B5A
square
#35216B #6B2132 #576B21 #216B5A
split-complementary
#35216B #6B5A21 #326B21
monochromatic
#0C0717 #1E133C #35216B #4C2F9A #6542C5

Accessibility & contrast

On white

13.28
#35216B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35216B
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35216B#FFFFFF#000000##FFFFFF
##35216B1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#002E69
Tritanopia (blue-blind)
#243343
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #35216b;
/* rgb */ color: rgb(53, 33, 107);
/* oklch */ color: oklch(32.0% 0.122 290.2);
Tailwind
colors: {
  custom: {
    50: '#725d96',
    500: '#35216b',
    950: '#000000',
  },
}
SCSS
$custom: #35216b;
$custom-light: #725d96;
$custom-dark: #000000;
JSON
{
  "hex": "#35216b",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 107
  },
  "hsl": {
    "h": 256.216,
    "s": 52.857,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3201,
    "c": 0.12204,
    "h": 290.2
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#35216B
secondary
#889F49
accent
#DC4CB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #35216B

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

Preview Lab → · Contrast checker → · Palette generator →

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