#352291#352291

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

Color values

HEX#352291
RGBrgb(53, 34, 145)
HSLhsl(250, 62%, 35%)
HSVhsv(250, 77%, 57%)
CMYKcmyk(63.4%, 76.6%, 0%, 43.1%)
CIE-LABlab(23.49, 40.86, -57.83)
CIE-LCHlch(23.49, 70.81, 305.24°)
OKLaboklab(35.84% 0.0334 -0.1668)
OKLCHoklch(35.84% 0.17 281.3)
XYZxyz(7.1495, 3.9447, 27.1672)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352291 #7E9122
analogous
#224791 #352291 #6C2291
triadic
#352291 #913522 #229135
tetradic
#352291 #912247 #7E9122 #22916C
square
#352291 #912247 #7E9122 #22916C
split-complementary
#352291 #916C22 #479122
monochromatic
#110B2E #23165F #352291 #472EC3 #6C56D7

Accessibility & contrast

On white

11.74
#352291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#352291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352291
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352291#FFFFFF#000000##FFFFFF
##3522911.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #352291;
/* rgb */ color: rgb(53, 34, 145);
/* oklch */ color: oklch(35.8% 0.170 281.3);
Tailwind
colors: {
  custom: {
    50: '#7960b2',
    500: '#352291',
    950: '#000000',
  },
}
SCSS
$custom: #352291;
$custom-light: #7960b2;
$custom-dark: #000000;
JSON
{
  "hex": "#352291",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 250.27,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35842,
    "c": 0.17013,
    "h": 281.3
  },
  "luminance": 0.03945
}

Semantic roles & 50–950 ramp

primary
#352291
secondary
#AABB53
accent
#E543C9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #352291

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

Preview Lab → · Contrast checker → · Palette generator →

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