#352D52#352D52

#352D52 is a dark, moderate violet. Relative luminance 0.032; OKLCH L 32.4% C 0.065 H 292.3°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#352D52
RGBrgb(53, 45, 82)
HSLhsl(253, 29%, 25%)
HSVhsv(253, 45%, 32%)
CMYKcmyk(35.4%, 45.1%, 0%, 67.8%)
CIE-LABlab(20.99, 13.44, -21.36)
CIE-LCHlch(20.99, 25.24, 302.18°)
OKLaboklab(32.42% 0.0246 -0.0599)
OKLCHoklch(32.42% 0.065 292.3)
XYZxyz(3.9292, 3.2428, 8.3999)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352D52 #4A522D
analogous
#2D3852 #352D52 #482D52
triadic
#352D52 #52352D #2D5235
tetradic
#352D52 #522D38 #4A522D #2D5248
square
#352D52 #522D38 #4A522D #2D5248
split-complementary
#352D52 #52482D #38522D
monochromatic
#0D0B14 #1B172A #352D52 #4F437A #6858A1

Accessibility & contrast

On white

12.74
#352D52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#352D52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352D52
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352D52#FFFFFF#000000##FFFFFF
##352D521.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223353
Deuteranopia (green-blind)
#233251
Tritanopia (blue-blind)
#2E343B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #352d52;
/* rgb */ color: rgb(53, 45, 82);
/* oklch */ color: oklch(32.4% 0.065 292.3);
Tailwind
colors: {
  custom: {
    50: '#6d6683',
    500: '#352d52',
    950: '#000000',
  },
}
SCSS
$custom: #352d52;
$custom-light: #6d6683;
$custom-dark: #000000;
JSON
{
  "hex": "#352d52",
  "rgb": {
    "r": 53,
    "g": 45,
    "b": 82
  },
  "hsl": {
    "h": 252.973,
    "s": 29.134,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32422,
    "c": 0.06475,
    "h": 292.3
  },
  "luminance": 0.03243
}

Semantic roles & 50–950 ramp

primary
#352D52
secondary
#7A8457
accent
#C562B0
background
#F6F6F8
surface
#ECEBEF
border
#C7C6CA
text
#07050A
muted
#7A7A7C

Preview Lab

Preview with #352D52

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

Preview Lab → · Contrast checker → · Palette generator →

#352D52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva