#352E54#352E54

#352E54 is a dark, moderate violet. Relative luminance 0.034; OKLCH L 32.8% C 0.066 H 290.7°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#352E54
RGBrgb(53, 46, 84)
HSLhsl(251, 29%, 25%)
HSVhsv(251, 45%, 33%)
CMYKcmyk(36.9%, 45.2%, 0%, 67.1%)
CIE-LABlab(21.40, 13.37, -22.06)
CIE-LCHlch(21.40, 25.79, 301.22°)
OKLaboklab(32.77% 0.0234 -0.0619)
OKLCHoklch(32.77% 0.066 290.7)
XYZxyz(4.0450, 3.3509, 8.8195)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352E54 #4D542E
analogous
#2E3A54 #352E54 #482E54
triadic
#352E54 #54352E #2E5435
tetradic
#352E54 #542E3A #4D542E #2E5448
square
#352E54 #542E3A #4D542E #2E5448
split-complementary
#352E54 #54482E #3A542E
monochromatic
#0C0B14 #1C182C #352E54 #4E447C #6759A3

Accessibility & contrast

On white

12.57
#352E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#352E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352E54
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352E54#FFFFFF#000000##FFFFFF
##352E541.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223455
Deuteranopia (green-blind)
#223353
Tritanopia (blue-blind)
#2D353D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #352e54;
/* rgb */ color: rgb(53, 46, 84);
/* oklch */ color: oklch(32.8% 0.066 290.7);
Tailwind
colors: {
  custom: {
    50: '#6e6684',
    500: '#352e54',
    950: '#000000',
  },
}
SCSS
$custom: #352e54;
$custom-light: #6e6684;
$custom-dark: #000000;
JSON
{
  "hex": "#352e54",
  "rgb": {
    "r": 53,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 251.053,
    "s": 29.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32768,
    "c": 0.06619,
    "h": 290.7
  },
  "luminance": 0.03351
}

Semantic roles & 50–950 ramp

primary
#352E54
secondary
#7D8658
accent
#C562B3
background
#F6F6F8
surface
#ECEBEF
border
#C7C6CA
text
#07060B
muted
#7A7A7C

Preview Lab

Preview with #352E54

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

Preview Lab → · Contrast checker → · Palette generator →

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