#352284#352284

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

Color values

HEX#352284
RGBrgb(53, 34, 132)
HSLhsl(252, 59%, 33%)
HSVhsv(252, 74%, 52%)
CMYKcmyk(59.8%, 74.2%, 0%, 48.2%)
CIE-LABlab(22.18, 36.73, -51.86)
CIE-LCHlch(22.18, 63.55, 305.31°)
OKLaboklab(34.52% 0.0366 -0.1494)
OKLCHoklch(34.52% 0.154 283.8)
XYZxyz(6.2038, 3.5665, 22.1868)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352284 #718422
analogous
#224084 #352284 #662284
triadic
#352284 #843522 #228435
tetradic
#352284 #842240 #718422 #228466
square
#352284 #842240 #718422 #228466
split-complementary
#352284 #846622 #408422
monochromatic
#0E0923 #211553 #352284 #492FB5 #684FD2

Accessibility & contrast

On white

12.26
#352284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352284
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352284#FFFFFF#000000##FFFFFF
##3522841.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003282
Tritanopia (blue-blind)
#073D51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #352284;
/* rgb */ color: rgb(53, 34, 132);
/* oklch */ color: oklch(34.5% 0.154 283.8);
Tailwind
colors: {
  custom: {
    50: '#765fa9',
    500: '#352284',
    950: '#000000',
  },
}
SCSS
$custom: #352284;
$custom-light: #765fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#352284",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 251.633,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34524,
    "c": 0.15377,
    "h": 283.8
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#352284
secondary
#A1B54D
accent
#E246C4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #352284

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

Preview Lab → · Contrast checker → · Palette generator →

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