#351C83#351C83

#351C83 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.159 H 285.1°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#351C83
RGBrgb(53, 28, 131)
HSLhsl(255, 65%, 31%)
HSVhsv(255, 79%, 51%)
CMYKcmyk(59.5%, 78.6%, 0%, 48.6%)
CIE-LABlab(20.93, 39.69, -53.29)
CIE-LCHlch(20.93, 66.45, 306.68°)
OKLaboklab(33.61% 0.0415 -0.1535)
OKLCHoklch(33.61% 0.159 285.1)
XYZxyz(5.9789, 3.2257, 21.7759)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C83 #6A831C
analogous
#1C3683 #351C83 #681C83
triadic
#351C83 #83351C #1C8335
tetradic
#351C83 #831C36 #6A831C #1C8368
square
#351C83 #831C36 #6A831C #1C8368
split-complementary
#351C83 #83681C #36831C
monochromatic
#0C061E #211151 #351C83 #4927B5 #6743D7

Accessibility & contrast

On white

12.76
#351C83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#351C83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C83
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C83#FFFFFF#000000##FFFFFF
##351C831.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003586
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#0B394E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #351c83;
/* rgb */ color: rgb(53, 28, 131);
/* oklch */ color: oklch(33.6% 0.159 285.1);
Tailwind
colors: {
  custom: {
    50: '#765ca8',
    500: '#351c83',
    950: '#000000',
  },
}
SCSS
$custom: #351c83;
$custom-light: #765ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#351c83",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 131
  },
  "hsl": {
    "h": 254.563,
    "s": 64.78,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33607,
    "c": 0.15902,
    "h": 285.1
  },
  "luminance": 0.03226
}

Semantic roles & 50–950 ramp

primary
#351C83
secondary
#9BB645
accent
#E840BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #351C83

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

Preview Lab → · Contrast checker → · Palette generator →

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