#352E52#352E52

#352E52 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 32.6% C 0.063 H 291.4°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#352E52
RGBrgb(53, 46, 82)
HSLhsl(252, 28%, 25%)
HSVhsv(252, 44%, 32%)
CMYKcmyk(35.4%, 43.9%, 0%, 67.8%)
CIE-LABlab(21.28, 12.75, -20.90)
CIE-LCHlch(21.28, 24.49, 301.38°)
OKLaboklab(32.64% 0.023 -0.0585)
OKLCHoklch(32.64% 0.063 291.4)
XYZxyz(3.9678, 3.3200, 8.4128)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352E52 #4B522E
analogous
#2E3952 #352E52 #472E52
triadic
#352E52 #52352E #2E5235
tetradic
#352E52 #522E39 #4B522E #2E5247
square
#352E52 #522E39 #4B522E #2E5247
split-complementary
#352E52 #52472E #39522E
monochromatic
#0D0B14 #1C182B #352E52 #4E4479 #685AA0

Accessibility & contrast

On white

12.62
#352E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#352E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352E52
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352E52#FFFFFF#000000##FFFFFF
##352E521.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233453
Deuteranopia (green-blind)
#243251
Tritanopia (blue-blind)
#2E353C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #352e52;
/* rgb */ color: rgb(53, 46, 82);
/* oklch */ color: oklch(32.6% 0.063 291.4);
Tailwind
colors: {
  custom: {
    50: '#6d6683',
    500: '#352e52',
    950: '#000000',
  },
}
SCSS
$custom: #352e52;
$custom-light: #6d6683;
$custom-dark: #000000;
JSON
{
  "hex": "#352e52",
  "rgb": {
    "r": 53,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 251.667,
    "s": 28.125,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32643,
    "c": 0.06291,
    "h": 291.4
  },
  "luminance": 0.0332
}

Semantic roles & 50–950 ramp

primary
#352E52
secondary
#7B8458
accent
#C463B2
background
#F6F6F8
surface
#ECEBEF
border
#C7C6CA
text
#07060A
muted
#7A7A7C

Preview Lab

Preview with #352E52

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

Preview Lab → · Contrast checker → · Palette generator →

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