#352088#352088

#352088 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.161 H 283.3°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#352088
RGBrgb(53, 32, 136)
HSLhsl(252, 62%, 33%)
HSVhsv(252, 76%, 53%)
CMYKcmyk(61%, 76.5%, 0%, 46.7%)
CIE-LABlab(22.19, 39.11, -54.37)
CIE-LCHlch(22.19, 66.97, 305.73°)
OKLaboklab(34.65% 0.0372 -0.1567)
OKLCHoklch(34.65% 0.161 283.3)
XYZxyz(6.4273, 3.5671, 23.6376)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352088 #738820
analogous
#203F88 #352088 #692088
triadic
#352088 #883520 #208835
tetradic
#352088 #88203F #738820 #208869
square
#352088 #88203F #738820 #208869
split-complementary
#352088 #886920 #3F8820
monochromatic
#0E0925 #221456 #352088 #482CBA #694DD5

Accessibility & contrast

On white

12.26
#352088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352088
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352088#FFFFFF#000000##FFFFFF
##3520881.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #352088;
/* rgb */ color: rgb(53, 32, 136);
/* oklch */ color: oklch(34.6% 0.161 283.3);
Tailwind
colors: {
  custom: {
    50: '#775eac',
    500: '#352088',
    950: '#000000',
  },
}
SCSS
$custom: #352088;
$custom-light: #775eac;
$custom-dark: #000000;
JSON
{
  "hex": "#352088",
  "rgb": {
    "r": 53,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 252.115,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34646,
    "c": 0.16103,
    "h": 283.3
  },
  "luminance": 0.03567
}

Semantic roles & 50–950 ramp

primary
#352088
secondary
#A2B84C
accent
#E543C4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #352088

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

Preview Lab → · Contrast checker → · Palette generator →

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