#352152#352152

#352152 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.0% C 0.087 H 300.0°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#352152
RGBrgb(53, 33, 82)
HSLhsl(264, 43%, 23%)
HSVhsv(264, 60%, 32%)
CMYKcmyk(35.4%, 59.8%, 0%, 67.8%)
CIE-LABlab(17.71, 21.60, -26.58)
CIE-LCHlch(17.71, 34.25, 309.10°)
OKLaboklab(29.96% 0.0434 -0.0751)
OKLCHoklch(29.96% 0.087 300)
XYZxyz(3.5347, 2.4538, 8.2684)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352152 #3E5221
analogous
#212552 #352152 #4E2152
triadic
#352152 #523521 #215235
tetradic
#352152 #522125 #3E5221 #21524E
square
#352152 #522125 #3E5221 #21524E
split-complementary
#352152 #524E21 #255221
monochromatic
#0E0916 #190F26 #352152 #51337E #6D44A9

Accessibility & contrast

On white

14.09
#352152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#352152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352152
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352152#FFFFFF#000000##FFFFFF
##3521521.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2B54
Deuteranopia (green-blind)
#142B51
Tritanopia (blue-blind)
#2F2B36
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #352152;
/* rgb */ color: rgb(53, 33, 82);
/* oklch */ color: oklch(30.0% 0.087 300.0);
Tailwind
colors: {
  custom: {
    50: '#6e5d83',
    500: '#352152',
    950: '#000000',
  },
}
SCSS
$custom: #352152;
$custom-light: #6e5d83;
$custom-dark: #000000;
JSON
{
  "hex": "#352152",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 264.49,
    "s": 42.609,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29963,
    "c": 0.08677,
    "h": 300
  },
  "luminance": 0.02454
}

Semantic roles & 50–950 ramp

primary
#352152
secondary
#6D8649
accent
#D2559F
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040A
muted
#7A797C

Preview Lab

Preview with #352152

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

Preview Lab → · Contrast checker → · Palette generator →

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