#351C98#351C98

#351C98 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.9% C 0.184 H 281.0°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#351C98
RGBrgb(53, 28, 152)
HSLhsl(252, 69%, 35%)
HSVhsv(252, 82%, 60%)
CMYKcmyk(65.1%, 81.6%, 0%, 40.4%)
CIE-LABlab(23.18, 46.04, -62.65)
CIE-LCHlch(23.18, 77.75, 306.31°)
OKLaboklab(35.85% 0.0351 -0.1808)
OKLCHoklch(35.85% 0.184 281)
XYZxyz(7.5492, 3.8538, 30.0457)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C98 #7F981C
analogous
#1C4198 #351C98 #731C98
triadic
#351C98 #98351C #1C9835
tetradic
#351C98 #981C41 #7F981C #1C9873
square
#351C98 #981C41 #7F981C #1C9873
split-complementary
#351C98 #98731C #41981C
monochromatic
#110931 #231264 #351C98 #4726CC #6D50DF

Accessibility & contrast

On white

11.86
#351C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#351C98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C98
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C98#FFFFFF#000000##FFFFFF
##351C981.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9B
Deuteranopia (green-blind)
#003396
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #351c98;
/* rgb */ color: rgb(53, 28, 152);
/* oklch */ color: oklch(35.9% 0.184 281.0);
Tailwind
colors: {
  custom: {
    50: '#7b5db8',
    500: '#351c98',
    950: '#000000',
  },
}
SCSS
$custom: #351c98;
$custom-light: #7b5db8;
$custom-dark: #000000;
JSON
{
  "hex": "#351c98",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 252.097,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35851,
    "c": 0.18418,
    "h": 281
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#351C98
secondary
#AAC14E
accent
#EC3CC8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #351C98

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

Preview Lab → · Contrast checker → · Palette generator →

#351C98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva