#351C8F#351C8F

#351C8F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.174 H 282.6°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#351C8F
RGBrgb(53, 28, 143)
HSLhsl(253, 67%, 34%)
HSVhsv(253, 80%, 56%)
CMYKcmyk(62.9%, 80.4%, 0%, 43.9%)
CIE-LABlab(22.20, 43.33, -58.72)
CIE-LCHlch(22.20, 72.97, 306.43°)
OKLaboklab(34.87% 0.0379 -0.1693)
OKLCHoklch(34.87% 0.174 282.6)
XYZxyz(6.8398, 3.5701, 26.3099)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C8F #768F1C
analogous
#1C3D8F #351C8F #6E1C8F
triadic
#351C8F #8F351C #1C8F35
tetradic
#351C8F #8F1C3D #768F1C #1C8F6E
square
#351C8F #8F1C3D #768F1C #1C8F6E
split-complementary
#351C8F #8F6E1C #3D8F1C
monochromatic
#0F0829 #22125C #351C8F #4826C2 #6A4ADC

Accessibility & contrast

On white

12.25
#351C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#351C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C8F
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C8F#FFFFFF#000000##FFFFFF
##351C8F1.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #351c8f;
/* rgb */ color: rgb(53, 28, 143);
/* oklch */ color: oklch(34.9% 0.174 282.6);
Tailwind
colors: {
  custom: {
    50: '#795cb1',
    500: '#351c8f',
    950: '#000000',
  },
}
SCSS
$custom: #351c8f;
$custom-light: #795cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#351c8f",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 253.043,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34874,
    "c": 0.17353,
    "h": 282.6
  },
  "luminance": 0.03571
}

Semantic roles & 50–950 ramp

primary
#351C8F
secondary
#A4BE49
accent
#EA3EC5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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