#352192#352192

#352192 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.172 H 281.3°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#352192
RGBrgb(53, 33, 146)
HSLhsl(251, 63%, 35%)
HSVhsv(251, 77%, 57%)
CMYKcmyk(63.7%, 77.4%, 0%, 42.7%)
CIE-LABlab(23.40, 41.71, -58.59)
CIE-LCHlch(23.40, 71.91, 305.45°)
OKLaboklab(35.81% 0.0339 -0.169)
OKLCHoklch(35.81% 0.172 281.3)
XYZxyz(7.1987, 3.9194, 27.5657)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352192 #7E9221
analogous
#214692 #352192 #6D2192
triadic
#352192 #923521 #219235
tetradic
#352192 #922146 #7E9221 #21926D
square
#352192 #922146 #7E9221 #21926D
split-complementary
#352192 #926D21 #469221
monochromatic
#110A2E #231660 #352192 #472CC4 #6C55D9

Accessibility & contrast

On white

11.77
#352192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#352192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352192
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352192#FFFFFF#000000##FFFFFF
##3521921.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #352192;
/* rgb */ color: rgb(53, 33, 146);
/* oklch */ color: oklch(35.8% 0.172 281.3);
Tailwind
colors: {
  custom: {
    50: '#795fb3',
    500: '#352192',
    950: '#000000',
  },
}
SCSS
$custom: #352192;
$custom-light: #795fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#352192",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 250.619,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35813,
    "c": 0.17238,
    "h": 281.3
  },
  "luminance": 0.0392
}

Semantic roles & 50–950 ramp

primary
#352192
secondary
#AABC53
accent
#E642C9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #352192

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

Preview Lab → · Contrast checker → · Palette generator →

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