#35217C#35217C

#35217C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.145 H 285.7°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#35217C
RGBrgb(53, 33, 124)
HSLhsl(253, 58%, 31%)
HSVhsv(253, 73%, 49%)
CMYKcmyk(57.3%, 73.4%, 0%, 51.4%)
CIE-LABlab(21.21, 34.76, -48.40)
CIE-LCHlch(21.21, 59.59, 305.68°)
OKLaboklab(33.59% 0.0392 -0.1392)
OKLCHoklch(33.59% 0.145 285.7)
XYZxyz(5.6490, 3.2995, 19.4041)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35217C #687C21
analogous
#213A7C #35217C #62217C
triadic
#35217C #7C3521 #217C35
tetradic
#35217C #7C213A #687C21 #217C62
square
#35217C #7C213A #687C21 #217C62
split-complementary
#35217C #7C6221 #3A7C21
monochromatic
#0C071B #20144C #35217C #4A2EAC #6649CF

Accessibility & contrast

On white

12.65
#35217C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35217C
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35217C#FFFFFF#000000##FFFFFF
##35217C1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#15394C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #35217c;
/* rgb */ color: rgb(53, 33, 124);
/* oklch */ color: oklch(33.6% 0.145 285.7);
Tailwind
colors: {
  custom: {
    50: '#755ea3',
    500: '#35217c',
    950: '#000000',
  },
}
SCSS
$custom: #35217c;
$custom-light: #755ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#35217c",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 124
  },
  "hsl": {
    "h": 253.187,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33593,
    "c": 0.14463,
    "h": 285.7
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#35217C
secondary
#99AF4A
accent
#E147BF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35217C

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

Preview Lab → · Contrast checker → · Palette generator →

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