#352176#352176

#352176 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.0% C 0.137 H 287.2°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#352176
RGBrgb(53, 33, 118)
HSLhsl(254, 56%, 30%)
HSVhsv(254, 72%, 46%)
CMYKcmyk(55.1%, 72%, 0%, 53.7%)
CIE-LABlab(20.64, 32.85, -45.49)
CIE-LCHlch(20.64, 56.11, 305.83°)
OKLaboklab(33.02% 0.0404 -0.1307)
OKLCHoklch(33.02% 0.137 287.2)
XYZxyz(5.2811, 3.1523, 17.4662)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352176 #627621
analogous
#213776 #352176 #602176
triadic
#352176 #763521 #217635
tetradic
#352176 #762137 #627621 #217660
square
#352176 #762137 #627621 #217660
split-complementary
#352176 #766021 #377621
monochromatic
#0B0718 #201446 #352176 #4A2EA6 #6546CB

Accessibility & contrast

On white

12.88
#352176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#352176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352176
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352176#FFFFFF#000000##FFFFFF
##3521761.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#1B3749
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #352176;
/* rgb */ color: rgb(53, 33, 118);
/* oklch */ color: oklch(33.0% 0.137 287.2);
Tailwind
colors: {
  custom: {
    50: '#745e9e',
    500: '#352176',
    950: '#000000',
  },
}
SCSS
$custom: #352176;
$custom-light: #745e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#352176",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 118
  },
  "hsl": {
    "h": 254.118,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.33019,
    "c": 0.13678,
    "h": 287.2
  },
  "luminance": 0.03153
}

Semantic roles & 50–950 ramp

primary
#352176
secondary
#93A94A
accent
#E048BC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #352176

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

Preview Lab → · Contrast checker → · Palette generator →

#352176 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva