#352382#352382

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

Color values

HEX#352382
RGBrgb(53, 35, 130)
HSLhsl(251, 58%, 32%)
HSVhsv(251, 73%, 51%)
CMYKcmyk(59.2%, 73.1%, 0%, 49%)
CIE-LABlab(22.20, 35.52, -50.58)
CIE-LCHlch(22.20, 61.80, 305.08°)
OKLaboklab(34.48% 0.0361 -0.1456)
OKLCHoklch(34.48% 0.15 283.9)
XYZxyz(6.0973, 3.5703, 21.4826)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352382 #708223
analogous
#234182 #352382 #642382
triadic
#352382 #823523 #238235
tetradic
#352382 #822341 #708223 #238264
square
#352382 #822341 #708223 #238264
split-complementary
#352382 #826423 #418223
monochromatic
#0E0922 #211652 #352382 #4930B2 #6850D0

Accessibility & contrast

On white

12.25
#352382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352382
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352382#FFFFFF#000000##FFFFFF
##3523821.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #352382;
/* rgb */ color: rgb(53, 35, 130);
/* oklch */ color: oklch(34.5% 0.150 283.9);
Tailwind
colors: {
  custom: {
    50: '#7660a7',
    500: '#352382',
    950: '#000000',
  },
}
SCSS
$custom: #352382;
$custom-light: #7660a7;
$custom-dark: #000000;
JSON
{
  "hex": "#352382",
  "rgb": {
    "r": 53,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 251.368,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34475,
    "c": 0.15003,
    "h": 283.9
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#352382
secondary
#A0B34D
accent
#E147C4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #352382

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

Preview Lab → · Contrast checker → · Palette generator →

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