#352285#352285

#352285 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.155 H 283.6°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#352285
RGBrgb(53, 34, 133)
HSLhsl(252, 59%, 33%)
HSVhsv(252, 74%, 52%)
CMYKcmyk(60.2%, 74.4%, 0%, 47.8%)
CIE-LABlab(22.28, 37.05, -52.33)
CIE-LCHlch(22.28, 64.12, 305.30°)
OKLaboklab(34.62% 0.0363 -0.1507)
OKLCHoklch(34.62% 0.155 283.6)
XYZxyz(6.2726, 3.5940, 22.5489)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352285 #728522
analogous
#224185 #352285 #662285
triadic
#352285 #853522 #228535
tetradic
#352285 #852241 #728522 #228566
square
#352285 #852241 #728522 #228566
split-complementary
#352285 #856622 #418522
monochromatic
#0E0924 #221654 #352285 #482EB6 #684FD2

Accessibility & contrast

On white

12.22
#352285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#352285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352285
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352285#FFFFFF#000000##FFFFFF
##3522851.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.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: #352285;
/* rgb */ color: rgb(53, 34, 133);
/* oklch */ color: oklch(34.6% 0.155 283.6);
Tailwind
colors: {
  custom: {
    50: '#765fa9',
    500: '#352285',
    950: '#000000',
  },
}
SCSS
$custom: #352285;
$custom-light: #765fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#352285",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 251.515,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34623,
    "c": 0.15505,
    "h": 283.6
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#352285
secondary
#A2B64D
accent
#E245C4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #352285

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

Preview Lab → · Contrast checker → · Palette generator →

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