#352098#352098

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

Color values

HEX#352098
RGBrgb(53, 32, 152)
HSLhsl(251, 65%, 36%)
HSVhsv(251, 79%, 60%)
CMYKcmyk(65.1%, 78.9%, 0%, 40.4%)
CIE-LABlab(23.86, 44.09, -61.54)
CIE-LCHlch(23.86, 75.70, 305.62°)
OKLaboklab(36.32% 0.0328 -0.1776)
OKLCHoklch(36.32% 0.181 280.5)
XYZxyz(7.6504, 4.0563, 30.0795)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352098 #839820
analogous
#204798 #352098 #712098
triadic
#352098 #983520 #209835
tetradic
#352098 #982047 #839820 #209871
square
#352098 #982047 #839820 #209871
split-complementary
#352098 #987120 #479820
monochromatic
#120B33 #231565 #352098 #472BCB #6E57DC

Accessibility & contrast

On white

11.59
#352098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#352098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352098
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352098#FFFFFF#000000##FFFFFF
##3520981.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #352098;
/* rgb */ color: rgb(53, 32, 152);
/* oklch */ color: oklch(36.3% 0.181 280.5);
Tailwind
colors: {
  custom: {
    50: '#7a5fb8',
    500: '#352098',
    950: '#000000',
  },
}
SCSS
$custom: #352098;
$custom-light: #7a5fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#352098",
  "rgb": {
    "r": 53,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 250.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3632,
    "c": 0.18063,
    "h": 280.5
  },
  "luminance": 0.04057
}

Semantic roles & 50–950 ramp

primary
#352098
secondary
#ADBF54
accent
#E840CB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #352098

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

Preview Lab → · Contrast checker → · Palette generator →

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