#352185#352185

#352185 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.156 H 283.8°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#352185
RGBrgb(53, 33, 133)
HSLhsl(252, 60%, 33%)
HSVhsv(252, 75%, 52%)
CMYKcmyk(60.2%, 75.2%, 0%, 47.8%)
CIE-LABlab(22.08, 37.61, -52.66)
CIE-LCHlch(22.08, 64.71, 305.54°)
OKLaboklab(34.48% 0.0371 -0.1517)
OKLCHoklch(34.48% 0.156 283.8)
XYZxyz(6.2444, 3.5377, 22.5395)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352185 #718521
analogous
#213F85 #352185 #672185
triadic
#352185 #853521 #218535
tetradic
#352185 #85213F #718521 #218567
square
#352185 #85213F #718521 #218567
split-complementary
#352185 #856721 #3F8521
monochromatic
#0E0923 #211554 #352185 #492DB6 #684DD3

Accessibility & contrast

On white

12.30
#352185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#352185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352185
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352185#FFFFFF#000000##FFFFFF
##3521851.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#053D51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #352185;
/* rgb */ color: rgb(53, 33, 133);
/* oklch */ color: oklch(34.5% 0.156 283.8);
Tailwind
colors: {
  custom: {
    50: '#765fa9',
    500: '#352185',
    950: '#000000',
  },
}
SCSS
$custom: #352185;
$custom-light: #765fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#352185",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 252,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34481,
    "c": 0.15617,
    "h": 283.8
  },
  "luminance": 0.03538
}

Semantic roles & 50–950 ramp

primary
#352185
secondary
#A1B64C
accent
#E344C4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #352185

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

Preview Lab → · Contrast checker → · Palette generator →

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