#351C85#351C85

#351C85 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.161 H 284.7°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#351C85
RGBrgb(53, 28, 133)
HSLhsl(254, 65%, 32%)
HSVhsv(254, 79%, 52%)
CMYKcmyk(60.2%, 78.9%, 0%, 47.8%)
CIE-LABlab(21.13, 40.30, -54.21)
CIE-LCHlch(21.13, 67.55, 306.63°)
OKLaboklab(33.82% 0.0409 -0.1562)
OKLCHoklch(33.82% 0.161 284.7)
XYZxyz(6.1158, 3.2805, 22.4967)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C85 #6C851C
analogous
#1C3885 #351C85 #6A1C85
triadic
#351C85 #85351C #1C8535
tetradic
#351C85 #851C38 #6C851C #1C856A
square
#351C85 #851C38 #6C851C #1C856A
split-complementary
#351C85 #856A1C #38851C
monochromatic
#0D0720 #211152 #351C85 #4927B8 #6744D8

Accessibility & contrast

On white

12.68
#351C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#351C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C85
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C85#FFFFFF#000000##FFFFFF
##351C851.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#063A50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #351c85;
/* rgb */ color: rgb(53, 28, 133);
/* oklch */ color: oklch(33.8% 0.161 284.7);
Tailwind
colors: {
  custom: {
    50: '#775caa',
    500: '#351c85',
    950: '#000000',
  },
}
SCSS
$custom: #351c85;
$custom-light: #775caa;
$custom-dark: #000000;
JSON
{
  "hex": "#351c85",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 254.286,
    "s": 65.217,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33815,
    "c": 0.16147,
    "h": 284.7
  },
  "luminance": 0.03281
}

Semantic roles & 50–950 ramp

primary
#351C85
secondary
#9DB845
accent
#E840C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351C85

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

Preview Lab → · Contrast checker → · Palette generator →

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