#351C97#351C97

#351C97 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.183 H 281.2°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#351C97
RGBrgb(53, 28, 151)
HSLhsl(252, 69%, 35%)
HSVhsv(252, 81%, 59%)
CMYKcmyk(64.9%, 81.5%, 0%, 40.8%)
CIE-LABlab(23.07, 45.74, -62.22)
CIE-LCHlch(23.07, 77.22, 306.32°)
OKLaboklab(35.74% 0.0354 -0.1795)
OKLCHoklch(35.74% 0.183 281.2)
XYZxyz(7.4676, 3.8212, 29.6162)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C97 #7E971C
analogous
#1C4197 #351C97 #721C97
triadic
#351C97 #97351C #1C9735
tetradic
#351C97 #971C41 #7E971C #1C9772
square
#351C97 #971C41 #7E971C #1C9772
split-complementary
#351C97 #97721C #41971C
monochromatic
#110930 #231263 #351C97 #4726CB #6C4FDE

Accessibility & contrast

On white

11.90
#351C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#351C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C97
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C97#FFFFFF#000000##FFFFFF
##351C971.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9A
Deuteranopia (green-blind)
#003295
Tritanopia (blue-blind)
#00425A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #351c97;
/* rgb */ color: rgb(53, 28, 151);
/* oklch */ color: oklch(35.7% 0.183 281.2);
Tailwind
colors: {
  custom: {
    50: '#7a5db7',
    500: '#351c97',
    950: '#000000',
  },
}
SCSS
$custom: #351c97;
$custom-light: #7a5db7;
$custom-dark: #000000;
JSON
{
  "hex": "#351c97",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 252.195,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35741,
    "c": 0.18301,
    "h": 281.2
  },
  "luminance": 0.03822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #351C97

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

Preview Lab → · Contrast checker → · Palette generator →

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