#352147#352147

#352147 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.2% C 0.071 H 306.8°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#352147
RGBrgb(53, 33, 71)
HSLhsl(272, 37%, 20%)
HSVhsv(272, 54%, 28%)
CMYKcmyk(25.4%, 53.5%, 0%, 72.2%)
CIE-LABlab(16.99, 18.41, -20.23)
CIE-LCHlch(16.99, 27.35, 312.30°)
OKLaboklab(29.19% 0.0424 -0.0566)
OKLCHoklch(29.19% 0.071 306.8)
XYZxyz(3.1492, 2.2996, 6.2380)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352147 #334721
analogous
#222147 #352147 #472146
triadic
#352147 #473521 #214735
tetradic
#352147 #472221 #334721 #214647
square
#352147 #472221 #334721 #214647
split-complementary
#352147 #464721 #214722
monochromatic
#100A15 #160E1D #352147 #543471 #73489B

Accessibility & contrast

On white

14.38
#352147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#352147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352147
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352147#FFFFFF#000000##FFFFFF
##3521471.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172948
Deuteranopia (green-blind)
#1C2A46
Tritanopia (blue-blind)
#322730
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #352147;
/* rgb */ color: rgb(53, 33, 71);
/* oklch */ color: oklch(29.2% 0.071 306.8);
Tailwind
colors: {
  custom: {
    50: '#6d5d7a',
    500: '#352147',
    950: '#000000',
  },
}
SCSS
$custom: #352147;
$custom-light: #6d5d7a;
$custom-dark: #000000;
JSON
{
  "hex": "#352147",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 271.579,
    "s": 36.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29194,
    "c": 0.07067,
    "h": 306.8
  },
  "luminance": 0.023
}

Semantic roles & 50–950 ramp

primary
#352147
secondary
#617B49
accent
#CD5B91
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070409
muted
#7A797B

Preview Lab

Preview with #352147

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

Preview Lab → · Contrast checker → · Palette generator →

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