#352197#352197

#352197 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.178 H 280.5°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#352197
RGBrgb(53, 33, 151)
HSLhsl(250, 64%, 36%)
HSVhsv(250, 78%, 59%)
CMYKcmyk(64.9%, 78.1%, 0%, 40.8%)
CIE-LABlab(23.93, 43.26, -60.80)
CIE-LCHlch(23.93, 74.63, 305.43°)
OKLaboklab(36.34% 0.0325 -0.1755)
OKLCHoklch(36.34% 0.178 280.5)
XYZxyz(7.5962, 4.0784, 29.6591)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352197 #839721
analogous
#214897 #352197 #702197
triadic
#352197 #973521 #219735
tetradic
#352197 #972148 #839721 #219770
square
#352197 #972148 #839721 #219770
split-complementary
#352197 #977021 #489721
monochromatic
#120B33 #231665 #352197 #472CC9 #6E58DA

Accessibility & contrast

On white

11.57
#352197 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#352197 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352197
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352197#FFFFFF#000000##FFFFFF
##3521971.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #352197;
/* rgb */ color: rgb(53, 33, 151);
/* oklch */ color: oklch(36.3% 0.178 280.5);
Tailwind
colors: {
  custom: {
    50: '#7a60b7',
    500: '#352197',
    950: '#000000',
  },
}
SCSS
$custom: #352197;
$custom-light: #7a60b7;
$custom-dark: #000000;
JSON
{
  "hex": "#352197",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 151
  },
  "hsl": {
    "h": 250.169,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36339,
    "c": 0.17848,
    "h": 280.5
  },
  "luminance": 0.04079
}

Semantic roles & 50–950 ramp

primary
#352197
secondary
#ADBE55
accent
#E741CB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #352197

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

Preview Lab → · Contrast checker → · Palette generator →

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