#352186#352186

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

Color values

HEX#352186
RGBrgb(53, 33, 134)
HSLhsl(252, 60%, 33%)
HSVhsv(252, 75%, 53%)
CMYKcmyk(60.4%, 75.4%, 0%, 47.5%)
CIE-LABlab(22.18, 37.93, -53.12)
CIE-LCHlch(22.18, 65.27, 305.53°)
OKLaboklab(34.58% 0.0369 -0.153)
OKLCHoklch(34.58% 0.157 283.6)
XYZxyz(6.3138, 3.5654, 22.9051)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352186 #728621
analogous
#214086 #352186 #672186
triadic
#352186 #863521 #218635
tetradic
#352186 #862140 #728621 #218667
square
#352186 #862140 #728621 #218667
split-complementary
#352186 #866721 #408621
monochromatic
#0E0924 #221555 #352186 #482DB7 #684ED3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##352186#FFFFFF#000000##FFFFFF
##3521861.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)
#003889
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#033D51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #352186;
/* rgb */ color: rgb(53, 33, 134);
/* oklch */ color: oklch(34.6% 0.157 283.6);
Tailwind
colors: {
  custom: {
    50: '#775faa',
    500: '#352186',
    950: '#000000',
  },
}
SCSS
$custom: #352186;
$custom-light: #775faa;
$custom-dark: #000000;
JSON
{
  "hex": "#352186",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 251.881,
    "s": 60.479,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34581,
    "c": 0.15744,
    "h": 283.6
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #352186

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

Preview Lab → · Contrast checker → · Palette generator →

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