#352282#352282

#352282 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.151 H 284.2°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#352282
RGBrgb(53, 34, 130)
HSLhsl(252, 59%, 32%)
HSVhsv(252, 74%, 51%)
CMYKcmyk(59.2%, 73.8%, 0%, 49%)
CIE-LABlab(21.99, 36.09, -50.92)
CIE-LCHlch(21.99, 62.41, 305.33°)
OKLaboklab(34.33% 0.037 -0.1466)
OKLCHoklch(34.33% 0.151 284.2)
XYZxyz(6.0683, 3.5123, 21.4729)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352282 #6F8222
analogous
#223F82 #352282 #652282
triadic
#352282 #823522 #228235
tetradic
#352282 #82223F #6F8222 #228265
square
#352282 #82223F #6F8222 #228265
split-complementary
#352282 #826522 #3F8222
monochromatic
#0D0921 #211551 #352282 #492FB3 #684ED1

Accessibility & contrast

On white

12.33
#352282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#352282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352282
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352282#FFFFFF#000000##FFFFFF
##3522821.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#0C3C4F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #352282;
/* rgb */ color: rgb(53, 34, 130);
/* oklch */ color: oklch(34.3% 0.151 284.2);
Tailwind
colors: {
  custom: {
    50: '#765fa7',
    500: '#352282',
    950: '#000000',
  },
}
SCSS
$custom: #352282;
$custom-light: #765fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#352282",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 251.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34327,
    "c": 0.1512,
    "h": 284.2
  },
  "luminance": 0.03513
}

Semantic roles & 50–950 ramp

primary
#352282
secondary
#9FB44C
accent
#E246C3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #352282

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

Preview Lab → · Contrast checker → · Palette generator →

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