#352177#352177

#352177 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.1% C 0.138 H 286.9°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#352177
RGBrgb(53, 33, 119)
HSLhsl(254, 57%, 30%)
HSVhsv(254, 72%, 47%)
CMYKcmyk(55.5%, 72.3%, 0%, 53.3%)
CIE-LABlab(20.74, 33.16, -45.98)
CIE-LCHlch(20.74, 56.69, 305.80°)
OKLaboklab(33.11% 0.0402 -0.1321)
OKLCHoklch(33.11% 0.138 286.9)
XYZxyz(5.3408, 3.1762, 17.7808)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352177 #637721
analogous
#213877 #352177 #602177
triadic
#352177 #773521 #217735
tetradic
#352177 #772138 #637721 #217760
square
#352177 #772138 #637721 #217760
split-complementary
#352177 #776021 #387721
monochromatic
#0B0718 #201447 #352177 #4A2EA7 #6647CC

Accessibility & contrast

On white

12.84
#352177 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#352177 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352177
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352177#FFFFFF#000000##FFFFFF
##3521771.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347A
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#1A3749
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #352177;
/* rgb */ color: rgb(53, 33, 119);
/* oklch */ color: oklch(33.1% 0.138 286.9);
Tailwind
colors: {
  custom: {
    50: '#745e9f',
    500: '#352177',
    950: '#000000',
  },
}
SCSS
$custom: #352177;
$custom-light: #745e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#352177",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 119
  },
  "hsl": {
    "h": 253.953,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33114,
    "c": 0.1381,
    "h": 286.9
  },
  "luminance": 0.03177
}

Semantic roles & 50–950 ramp

primary
#352177
secondary
#94AA4A
accent
#E048BD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #352177

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

Preview Lab → · Contrast checker → · Palette generator →

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