#35217B#35217B

#35217B is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.5% C 0.143 H 285.9°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#35217B
RGBrgb(53, 33, 123)
HSLhsl(253, 58%, 31%)
HSVhsv(253, 73%, 48%)
CMYKcmyk(56.9%, 73.2%, 0%, 51.8%)
CIE-LABlab(21.11, 34.44, -47.92)
CIE-LCHlch(21.11, 59.01, 305.70°)
OKLaboklab(33.5% 0.0394 -0.1378)
OKLCHoklch(33.5% 0.143 285.9)
XYZxyz(5.5861, 3.2743, 19.0727)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35217B #677B21
analogous
#213A7B #35217B #62217B
triadic
#35217B #7B3521 #217B35
tetradic
#35217B #7B213A #677B21 #217B62
square
#35217B #7B213A #677B21 #217B62
split-complementary
#35217B #7B6221 #3A7B21
monochromatic
#0B071A #20144B #35217B #4A2EAB #6648CE

Accessibility & contrast

On white

12.69
#35217B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#35217B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35217B
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35217B#FFFFFF#000000##FFFFFF
##35217B1.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357E
Deuteranopia (green-blind)
#003079
Tritanopia (blue-blind)
#16394B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #35217b;
/* rgb */ color: rgb(53, 33, 123);
/* oklch */ color: oklch(33.5% 0.143 285.9);
Tailwind
colors: {
  custom: {
    50: '#745ea2',
    500: '#35217b',
    950: '#000000',
  },
}
SCSS
$custom: #35217b;
$custom-light: #745ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#35217b",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 123
  },
  "hsl": {
    "h": 253.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33496,
    "c": 0.14333,
    "h": 285.9
  },
  "luminance": 0.03275
}

Semantic roles & 50–950 ramp

primary
#35217B
secondary
#98AE4A
accent
#E147BF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35217B

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

Preview Lab → · Contrast checker → · Palette generator →

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