#352188#352188

#352188 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.160 H 283.2°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#352188
RGBrgb(53, 33, 136)
HSLhsl(252, 61%, 33%)
HSVhsv(252, 76%, 53%)
CMYKcmyk(61%, 75.7%, 0%, 46.7%)
CIE-LABlab(22.38, 38.56, -54.05)
CIE-LCHlch(22.38, 66.39, 305.51°)
OKLaboklab(34.78% 0.0364 -0.1557)
OKLCHoklch(34.78% 0.16 283.2)
XYZxyz(6.4546, 3.6217, 23.6467)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352188 #748821
analogous
#214188 #352188 #682188
triadic
#352188 #883521 #218835
tetradic
#352188 #882141 #748821 #218868
square
#352188 #882141 #748821 #218868
split-complementary
#352188 #886821 #418821
monochromatic
#0F0925 #221557 #352188 #482DB9 #694FD4

Accessibility & contrast

On white

12.18
#352188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352188
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352188#FFFFFF#000000##FFFFFF
##3521881.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#003286
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #352188;
/* rgb */ color: rgb(53, 33, 136);
/* oklch */ color: oklch(34.8% 0.160 283.2);
Tailwind
colors: {
  custom: {
    50: '#775fac',
    500: '#352188',
    950: '#000000',
  },
}
SCSS
$custom: #352188;
$custom-light: #775fac;
$custom-dark: #000000;
JSON
{
  "hex": "#352188",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 251.65,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34783,
    "c": 0.15995,
    "h": 283.2
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#352188
secondary
#A3B84D
accent
#E444C5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #352188

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

Preview Lab → · Contrast checker → · Palette generator →

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