#352872#352872

#352872 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 33.8% C 0.122 H 285.9°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#352872
RGBrgb(53, 40, 114)
HSLhsl(251, 48%, 30%)
HSVhsv(251, 65%, 45%)
CMYKcmyk(53.5%, 64.9%, 0%, 55.3%)
CIE-LABlab(21.90, 27.20, -40.87)
CIE-LCHlch(21.90, 49.09, 303.64°)
OKLaboklab(33.82% 0.0335 -0.1171)
OKLCHoklch(33.82% 0.122 285.9)
XYZxyz(5.2634, 3.4891, 16.3125)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352872 #657228
analogous
#284072 #352872 #5A2872
triadic
#352872 #723528 #287235
tetradic
#352872 #722840 #657228 #28725A
square
#352872 #722840 #657228 #28725A
split-complementary
#352872 #725A28 #407228
monochromatic
#0B0817 #201845 #352872 #4A389F #6652C2

Accessibility & contrast

On white

12.37
#352872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#352872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352872
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352872#FFFFFF#000000##FFFFFF
##3528721.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#003270
Tritanopia (blue-blind)
#1E3A49
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #352872;
/* rgb */ color: rgb(53, 40, 114);
/* oklch */ color: oklch(33.8% 0.122 285.9);
Tailwind
colors: {
  custom: {
    50: '#72629b',
    500: '#352872',
    950: '#000000',
  },
}
SCSS
$custom: #352872;
$custom-light: #72629b;
$custom-dark: #000000;
JSON
{
  "hex": "#352872",
  "rgb": {
    "r": 53,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 250.541,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33822,
    "c": 0.1218,
    "h": 285.9
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#352872
secondary
#96A452
accent
#D850C0
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #352872

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

Preview Lab → · Contrast checker → · Palette generator →

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