#352873#352873

#352873 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 33.9% C 0.123 H 285.7°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#352873
RGBrgb(53, 40, 115)
HSLhsl(250, 48%, 30%)
HSVhsv(250, 65%, 45%)
CMYKcmyk(53.9%, 65.2%, 0%, 54.9%)
CIE-LABlab(21.99, 27.53, -41.38)
CIE-LCHlch(21.99, 49.70, 303.64°)
OKLaboklab(33.91% 0.0334 -0.1186)
OKLCHoklch(33.91% 0.123 285.7)
XYZxyz(5.3206, 3.5120, 16.6139)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352873 #667328
analogous
#284073 #352873 #5A2873
triadic
#352873 #733528 #287335
tetradic
#352873 #732840 #667328 #28735A
square
#352873 #732840 #667328 #28735A
split-complementary
#352873 #735A28 #407328
monochromatic
#0B0818 #201846 #352873 #4A38A0 #6652C3

Accessibility & contrast

On white

12.34
#352873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352873
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352873#FFFFFF#000000##FFFFFF
##3528731.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003775
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#1D3A49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #352873;
/* rgb */ color: rgb(53, 40, 115);
/* oklch */ color: oklch(33.9% 0.123 285.7);
Tailwind
colors: {
  custom: {
    50: '#72629c',
    500: '#352873',
    950: '#000000',
  },
}
SCSS
$custom: #352873;
$custom-light: #72629c;
$custom-dark: #000000;
JSON
{
  "hex": "#352873",
  "rgb": {
    "r": 53,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 250.4,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33908,
    "c": 0.12322,
    "h": 285.7
  },
  "luminance": 0.03512
}

Semantic roles & 50–950 ramp

primary
#352873
secondary
#97A552
accent
#D850C0
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #352873

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

Preview Lab → · Contrast checker → · Palette generator →

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