#352248#352248

#352248 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.5% C 0.070 H 305.6°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#352248
RGBrgb(53, 34, 72)
HSLhsl(270, 36%, 21%)
HSVhsv(270, 53%, 28%)
CMYKcmyk(26.4%, 52.8%, 0%, 71.8%)
CIE-LABlab(17.31, 18.02, -20.40)
CIE-LCHlch(17.31, 27.21, 311.46°)
OKLaboklab(29.46% 0.0409 -0.057)
OKLCHoklch(29.46% 0.07 305.6)
XYZxyz(3.2097, 2.3688, 6.4178)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352248 #354822
analogous
#222248 #352248 #482248
triadic
#352248 #483522 #224835
tetradic
#352248 #482222 #354822 #224848
square
#352248 #482222 #354822 #224848
split-complementary
#352248 #484822 #224822
monochromatic
#0F0A15 #160E1E #352248 #543672 #72499B

Accessibility & contrast

On white

14.25
#352248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#352248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352248
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352248#FFFFFF#000000##FFFFFF
##3522481.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182A49
Deuteranopia (green-blind)
#1D2B47
Tritanopia (blue-blind)
#322831
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #352248;
/* rgb */ color: rgb(53, 34, 72);
/* oklch */ color: oklch(29.5% 0.070 305.6);
Tailwind
colors: {
  custom: {
    50: '#6d5d7b',
    500: '#352248',
    950: '#000000',
  },
}
SCSS
$custom: #352248;
$custom-light: #6d5d7b;
$custom-dark: #000000;
JSON
{
  "hex": "#352248",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 270,
    "s": 35.849,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29459,
    "c": 0.07017,
    "h": 305.6
  },
  "luminance": 0.02369
}

Semantic roles & 50–950 ramp

primary
#352248
secondary
#637C4A
accent
#CC5C94
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070409
muted
#7A797B

Preview Lab

Preview with #352248

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

Preview Lab → · Contrast checker → · Palette generator →

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