#352187#352187

#352187 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.159 H 283.4°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#352187
RGBrgb(53, 33, 135)
HSLhsl(252, 61%, 33%)
HSVhsv(252, 76%, 53%)
CMYKcmyk(60.7%, 75.6%, 0%, 47.1%)
CIE-LABlab(22.28, 38.25, -53.58)
CIE-LCHlch(22.28, 65.84, 305.52°)
OKLaboklab(34.68% 0.0367 -0.1544)
OKLCHoklch(34.68% 0.159 283.4)
XYZxyz(6.3839, 3.5934, 23.2742)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352187 #738721
analogous
#214087 #352187 #682187
triadic
#352187 #873521 #218735
tetradic
#352187 #872140 #738721 #218768
square
#352187 #872140 #738721 #218768
split-complementary
#352187 #876821 #408721
monochromatic
#0E0925 #221556 #352187 #482DB8 #694FD4

Accessibility & contrast

On white

12.22
#352187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#352187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352187
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352187#FFFFFF#000000##FFFFFF
##3521871.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388A
Deuteranopia (green-blind)
#003285
Tritanopia (blue-blind)
#013D52
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #352187;
/* rgb */ color: rgb(53, 33, 135);
/* oklch */ color: oklch(34.7% 0.159 283.4);
Tailwind
colors: {
  custom: {
    50: '#775fab',
    500: '#352187',
    950: '#000000',
  },
}
SCSS
$custom: #352187;
$custom-light: #775fab;
$custom-dark: #000000;
JSON
{
  "hex": "#352187",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 251.765,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34682,
    "c": 0.15869,
    "h": 283.4
  },
  "luminance": 0.03594
}

Semantic roles & 50–950 ramp

primary
#352187
secondary
#A2B74D
accent
#E444C4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #352187

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

Preview Lab → · Contrast checker → · Palette generator →

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