#352097#352097

#352097 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.179 H 280.6°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#352097
RGBrgb(53, 32, 151)
HSLhsl(251, 65%, 36%)
HSVhsv(251, 79%, 59%)
CMYKcmyk(64.9%, 78.8%, 0%, 40.8%)
CIE-LABlab(23.75, 43.78, -61.10)
CIE-LCHlch(23.75, 75.17, 305.62°)
OKLaboklab(36.21% 0.0331 -0.1763)
OKLCHoklch(36.21% 0.179 280.6)
XYZxyz(7.5689, 4.0237, 29.6499)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352097 #829720
analogous
#204697 #352097 #702097
triadic
#352097 #973520 #209735
tetradic
#352097 #972046 #829720 #209770
square
#352097 #972046 #829720 #209770
split-complementary
#352097 #977020 #469720
monochromatic
#120B32 #231564 #352097 #472BC9 #6E56DB

Accessibility & contrast

On white

11.64
#352097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352097
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352097#FFFFFF#000000##FFFFFF
##3520971.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9A
Deuteranopia (green-blind)
#003495
Tritanopia (blue-blind)
#00435B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #352097;
/* rgb */ color: rgb(53, 32, 151);
/* oklch */ color: oklch(36.2% 0.179 280.6);
Tailwind
colors: {
  custom: {
    50: '#7a5fb7',
    500: '#352097',
    950: '#000000',
  },
}
SCSS
$custom: #352097;
$custom-light: #7a5fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#352097",
  "rgb": {
    "r": 53,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 250.588,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36214,
    "c": 0.17942,
    "h": 280.6
  },
  "luminance": 0.04024
}

Semantic roles & 50–950 ramp

primary
#352097
secondary
#ACBF54
accent
#E840CA
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #352097

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

Preview Lab → · Contrast checker → · Palette generator →

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