#351C93#351C93

#351C93 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.178 H 281.9°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#351C93
RGBrgb(53, 28, 147)
HSLhsl(253, 68%, 34%)
HSVhsv(253, 81%, 58%)
CMYKcmyk(63.9%, 81%, 0%, 42.4%)
CIE-LABlab(22.63, 44.54, -60.48)
CIE-LCHlch(22.63, 75.11, 306.37°)
OKLaboklab(35.31% 0.0367 -0.1745)
OKLCHoklch(35.31% 0.178 281.9)
XYZxyz(7.1483, 3.6935, 27.9343)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C93 #7A931C
analogous
#1C3F93 #351C93 #711C93
triadic
#351C93 #93351C #1C9335
tetradic
#351C93 #931C3F #7A931C #1C9371
square
#351C93 #931C3F #7A931C #1C9371
split-complementary
#351C93 #93711C #3F931C
monochromatic
#10082C #221260 #351C93 #4826C6 #6B4CDD

Accessibility & contrast

On white

12.08
#351C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#351C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C93
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C93#FFFFFF#000000##FFFFFF
##351C931.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A96
Deuteranopia (green-blind)
#003291
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #351c93;
/* rgb */ color: rgb(53, 28, 147);
/* oklch */ color: oklch(35.3% 0.178 281.9);
Tailwind
colors: {
  custom: {
    50: '#7a5db4',
    500: '#351c93',
    950: '#000000',
  },
}
SCSS
$custom: #351c93;
$custom-light: #7a5db4;
$custom-dark: #000000;
JSON
{
  "hex": "#351c93",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 252.605,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35306,
    "c": 0.17829,
    "h": 281.9
  },
  "luminance": 0.03694
}

Semantic roles & 50–950 ramp

primary
#351C93
secondary
#A7BF4C
accent
#EB3DC6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351C93

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

Preview Lab → · Contrast checker → · Palette generator →

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