#352178#352178

#352178 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.139 H 286.7°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#352178
RGBrgb(53, 33, 120)
HSLhsl(254, 57%, 30%)
HSVhsv(254, 73%, 47%)
CMYKcmyk(55.8%, 72.5%, 0%, 52.9%)
CIE-LABlab(20.83, 33.48, -46.47)
CIE-LCHlch(20.83, 57.27, 305.78°)
OKLaboklab(33.21% 0.04 -0.1336)
OKLCHoklch(33.21% 0.139 286.7)
XYZxyz(5.4012, 3.2004, 18.0988)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352178 #647821
analogous
#213978 #352178 #602178
triadic
#352178 #783521 #217835
tetradic
#352178 #782139 #647821 #217860
square
#352178 #782139 #647821 #217860
split-complementary
#352178 #786021 #397821
monochromatic
#0B0718 #201448 #352178 #4A2EA8 #6647CC

Accessibility & contrast

On white

12.80
#352178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352178
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352178#FFFFFF#000000##FFFFFF
##3521781.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347B
Deuteranopia (green-blind)
#003076
Tritanopia (blue-blind)
#19384A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #352178;
/* rgb */ color: rgb(53, 33, 120);
/* oklch */ color: oklch(33.2% 0.139 286.7);
Tailwind
colors: {
  custom: {
    50: '#745ea0',
    500: '#352178',
    950: '#000000',
  },
}
SCSS
$custom: #352178;
$custom-light: #745ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#352178",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 253.793,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.33209,
    "c": 0.13941,
    "h": 286.7
  },
  "luminance": 0.03201
}

Semantic roles & 50–950 ramp

primary
#352178
secondary
#95AB4A
accent
#E048BD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #352178

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

Preview Lab → · Contrast checker → · Palette generator →

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