#352198#352198

#352198 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.180 H 280.3°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#352198
RGBrgb(53, 33, 152)
HSLhsl(250, 64%, 36%)
HSVhsv(250, 78%, 60%)
CMYKcmyk(65.1%, 78.3%, 0%, 40.4%)
CIE-LABlab(24.04, 43.58, -61.24)
CIE-LCHlch(24.04, 75.16, 305.43°)
OKLaboklab(36.45% 0.0322 -0.1768)
OKLCHoklch(36.45% 0.18 280.3)
XYZxyz(7.6778, 4.1110, 30.0886)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352198 #849821
analogous
#214998 #352198 #712198
triadic
#352198 #983521 #219835
tetradic
#352198 #982149 #849821 #219871
square
#352198 #982149 #849821 #219871
split-complementary
#352198 #987121 #499821
monochromatic
#120B33 #231666 #352198 #472CCA #6E59DB

Accessibility & contrast

On white

11.52
#352198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352198
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352198#FFFFFF#000000##FFFFFF
##3521981.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9B
Deuteranopia (green-blind)
#003596
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #352198;
/* rgb */ color: rgb(53, 33, 152);
/* oklch */ color: oklch(36.4% 0.180 280.3);
Tailwind
colors: {
  custom: {
    50: '#7a60b8',
    500: '#352198',
    950: '#000000',
  },
}
SCSS
$custom: #352198;
$custom-light: #7a60b8;
$custom-dark: #000000;
JSON
{
  "hex": "#352198",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 250.084,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36445,
    "c": 0.17969,
    "h": 280.3
  },
  "luminance": 0.04112
}

Semantic roles & 50–950 ramp

primary
#352198
secondary
#ADBF56
accent
#E740CB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #352198

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

Preview Lab → · Contrast checker → · Palette generator →

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