#352181#352181

#352181 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.1% C 0.151 H 284.6°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#352181
RGBrgb(53, 33, 129)
HSLhsl(253, 59%, 32%)
HSVhsv(253, 74%, 51%)
CMYKcmyk(58.9%, 74.4%, 0%, 49.4%)
CIE-LABlab(21.69, 36.35, -50.78)
CIE-LCHlch(21.69, 62.45, 305.59°)
OKLaboklab(34.08% 0.0381 -0.1462)
OKLCHoklch(34.08% 0.151 284.6)
XYZxyz(5.9733, 3.4292, 21.1118)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352181 #6D8121
analogous
#213D81 #352181 #652181
triadic
#352181 #813521 #218135
tetradic
#352181 #81213D #6D8121 #218165
square
#352181 #81213D #6D8121 #218165
split-complementary
#352181 #816521 #3D8121
monochromatic
#0D0820 #211550 #352181 #492DB2 #674BD1

Accessibility & contrast

On white

12.46
#352181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#352181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352181
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352181#FFFFFF#000000##FFFFFF
##3521811.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#00317F
Tritanopia (blue-blind)
#0E3B4F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #352181;
/* rgb */ color: rgb(53, 33, 129);
/* oklch */ color: oklch(34.1% 0.151 284.6);
Tailwind
colors: {
  custom: {
    50: '#765ea7',
    500: '#352181',
    950: '#000000',
  },
}
SCSS
$custom: #352181;
$custom-light: #765ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#352181",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 252.5,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34083,
    "c": 0.15107,
    "h": 284.6
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#352181
secondary
#9EB44A
accent
#E245C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #352181

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

Preview Lab → · Contrast checker → · Palette generator →

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