#352173#352173

#352173 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.7% C 0.133 H 287.9°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#352173
RGBrgb(53, 33, 115)
HSLhsl(255, 55%, 29%)
HSVhsv(255, 71%, 45%)
CMYKcmyk(53.9%, 71.3%, 0%, 54.9%)
CIE-LABlab(20.37, 31.89, -44.01)
CIE-LCHlch(20.37, 54.35, 305.93°)
OKLaboklab(32.74% 0.0409 -0.1263)
OKLCHoklch(32.74% 0.133 287.9)
XYZxyz(5.1057, 3.0822, 16.5422)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352173 #5F7321
analogous
#213673 #352173 #5E2173
triadic
#352173 #733521 #217335
tetradic
#352173 #732136 #5F7321 #21735E
square
#352173 #732136 #5F7321 #21735E
split-complementary
#352173 #735E21 #367321
monochromatic
#0B0718 #1F1343 #352173 #4B2FA3 #6545CA

Accessibility & contrast

On white

12.99
#352173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#352173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352173
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352173#FFFFFF#000000##FFFFFF
##3521731.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#1E3647
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #352173;
/* rgb */ color: rgb(53, 33, 115);
/* oklch */ color: oklch(32.7% 0.133 287.9);
Tailwind
colors: {
  custom: {
    50: '#735e9c',
    500: '#352173',
    950: '#000000',
  },
}
SCSS
$custom: #352173;
$custom-light: #735e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#352173",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 115
  },
  "hsl": {
    "h": 254.634,
    "s": 55.405,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32738,
    "c": 0.1328,
    "h": 287.9
  },
  "luminance": 0.03082
}

Semantic roles & 50–950 ramp

primary
#352173
secondary
#90A649
accent
#DF49BA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #352173

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

Preview Lab → · Contrast checker → · Palette generator →

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