#352672#352672

#352672 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.5% C 0.125 H 286.6°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#352672
RGBrgb(53, 38, 114)
HSLhsl(252, 50%, 30%)
HSVhsv(252, 67%, 45%)
CMYKcmyk(53.5%, 66.7%, 0%, 55.3%)
CIE-LABlab(21.42, 28.48, -41.65)
CIE-LCHlch(21.42, 50.46, 304.36°)
OKLaboklab(33.47% 0.0357 -0.1194)
OKLCHoklch(33.47% 0.125 286.6)
XYZxyz(5.1977, 3.3578, 16.2906)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352672 #637226
analogous
#263D72 #352672 #5B2672
triadic
#352672 #723526 #267235
tetradic
#352672 #72263D #637226 #26725B
square
#352672 #72263D #637226 #26725B
split-complementary
#352672 #725B26 #3D7226
monochromatic
#0B0817 #201744 #352672 #4A35A0 #664EC4

Accessibility & contrast

On white

12.56
#352672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#352672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352672
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352672#FFFFFF#000000##FFFFFF
##3526721.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003574
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#1E3848
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #352672;
/* rgb */ color: rgb(53, 38, 114);
/* oklch */ color: oklch(33.5% 0.125 286.6);
Tailwind
colors: {
  custom: {
    50: '#72619b',
    500: '#352672',
    950: '#000000',
  },
}
SCSS
$custom: #352672;
$custom-light: #72619b;
$custom-dark: #000000;
JSON
{
  "hex": "#352672",
  "rgb": {
    "r": 53,
    "g": 38,
    "b": 114
  },
  "hsl": {
    "h": 251.842,
    "s": 50,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33471,
    "c": 0.12464,
    "h": 286.6
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#352672
secondary
#94A54F
accent
#DA4EBE
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #352672

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

Preview Lab → · Contrast checker → · Palette generator →

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