#352183#352183

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

Color values

HEX#352183
RGBrgb(53, 33, 131)
HSLhsl(252, 60%, 32%)
HSVhsv(252, 75%, 51%)
CMYKcmyk(59.5%, 74.8%, 0%, 48.6%)
CIE-LABlab(21.88, 36.98, -51.72)
CIE-LCHlch(21.88, 63.58, 305.57°)
OKLaboklab(34.28% 0.0376 -0.1489)
OKLCHoklch(34.28% 0.154 284.2)
XYZxyz(6.1075, 3.4829, 21.8188)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352183 #6F8321
analogous
#213E83 #352183 #662183
triadic
#352183 #833521 #218335
tetradic
#352183 #83213E #6F8321 #218366
square
#352183 #83213E #6F8321 #218366
split-complementary
#352183 #836621 #3E8321
monochromatic
#0D0821 #211552 #352183 #492DB4 #684CD2

Accessibility & contrast

On white

12.38
#352183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352183
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352183#FFFFFF#000000##FFFFFF
##3521831.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#0A3C50
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #352183;
/* rgb */ color: rgb(53, 33, 131);
/* oklch */ color: oklch(34.3% 0.154 284.2);
Tailwind
colors: {
  custom: {
    50: '#765ea8',
    500: '#352183',
    950: '#000000',
  },
}
SCSS
$custom: #352183;
$custom-light: #765ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#352183",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 131
  },
  "hsl": {
    "h": 252.245,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34281,
    "c": 0.15362,
    "h": 284.2
  },
  "luminance": 0.03483
}

Semantic roles & 50–950 ramp

primary
#352183
secondary
#9FB54B
accent
#E345C3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #352183

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

Preview Lab → · Contrast checker → · Palette generator →

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