#352146#352146

#352146 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.1% C 0.069 H 307.6°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#352146
RGBrgb(53, 33, 70)
HSLhsl(272, 36%, 20%)
HSVhsv(272, 53%, 27%)
CMYKcmyk(24.3%, 52.9%, 0%, 72.5%)
CIE-LABlab(16.93, 18.13, -19.64)
CIE-LCHlch(16.93, 26.72, 312.71°)
OKLaboklab(29.13% 0.0422 -0.0548)
OKLCHoklch(29.13% 0.069 307.6)
XYZxyz(3.1173, 2.2868, 6.0703)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352146 #324621
analogous
#222146 #352146 #462144
triadic
#352146 #463521 #214635
tetradic
#352146 #462221 #324621 #214446
square
#352146 #462221 #324621 #214446
split-complementary
#352146 #444621 #214622
monochromatic
#100A15 #160D1C #352146 #543570 #744899

Accessibility & contrast

On white

14.41
#352146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352146
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352146#FFFFFF#000000##FFFFFF
##3521461.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182947
Deuteranopia (green-blind)
#1D2A45
Tritanopia (blue-blind)
#332730
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #352146;
/* rgb */ color: rgb(53, 33, 70);
/* oklch */ color: oklch(29.1% 0.069 307.6);
Tailwind
colors: {
  custom: {
    50: '#6d5d79',
    500: '#352146',
    950: '#000000',
  },
}
SCSS
$custom: #352146;
$custom-light: #6d5d79;
$custom-dark: #000000;
JSON
{
  "hex": "#352146",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 272.432,
    "s": 35.922,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29129,
    "c": 0.0692,
    "h": 307.6
  },
  "luminance": 0.02287
}

Semantic roles & 50–950 ramp

primary
#352146
secondary
#5F7A49
accent
#CC5C8F
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070409
muted
#7A797B

Preview Lab

Preview with #352146

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

Preview Lab → · Contrast checker → · Palette generator →

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