#352292#352292

#352292 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.171 H 281.2°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#352292
RGBrgb(53, 34, 146)
HSLhsl(250, 62%, 35%)
HSVhsv(250, 77%, 57%)
CMYKcmyk(63.7%, 76.7%, 0%, 42.7%)
CIE-LABlab(23.59, 41.17, -58.28)
CIE-LCHlch(23.59, 71.35, 305.24°)
OKLaboklab(35.95% 0.0332 -0.1681)
OKLCHoklch(35.95% 0.171 281.2)
XYZxyz(7.2269, 3.9757, 27.5751)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352292 #7F9222
analogous
#224792 #352292 #6D2292
triadic
#352292 #923522 #229235
tetradic
#352292 #922247 #7F9222 #22926D
square
#352292 #922247 #7F9222 #22926D
split-complementary
#352292 #926D22 #479222
monochromatic
#110B2F #231660 #352292 #472EC4 #6D57D8

Accessibility & contrast

On white

11.70
#352292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#352292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352292
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352292#FFFFFF#000000##FFFFFF
##3522921.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.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: #352292;
/* rgb */ color: rgb(53, 34, 146);
/* oklch */ color: oklch(35.9% 0.171 281.2);
Tailwind
colors: {
  custom: {
    50: '#7960b3',
    500: '#352292',
    950: '#000000',
  },
}
SCSS
$custom: #352292;
$custom-light: #7960b3;
$custom-dark: #000000;
JSON
{
  "hex": "#352292",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 250.179,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35945,
    "c": 0.17136,
    "h": 281.2
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#352292
secondary
#AABC54
accent
#E543CA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #352292

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

Preview Lab → · Contrast checker → · Palette generator →

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