#351C9E#351C9E

#351C9E is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.191 H 280.0°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#351C9E
RGBrgb(53, 28, 158)
HSLhsl(252, 70%, 36%)
HSVhsv(252, 82%, 62%)
CMYKcmyk(66.5%, 82.3%, 0%, 38%)
CIE-LABlab(23.85, 47.82, -65.22)
CIE-LCHlch(23.85, 80.87, 306.25°)
OKLaboklab(36.51% 0.0332 -0.1883)
OKLCHoklch(36.51% 0.191 280)
XYZxyz(8.0530, 4.0554, 32.6995)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C9E #859E1C
analogous
#1C449E #351C9E #761C9E
triadic
#351C9E #9E351C #1C9E35
tetradic
#351C9E #9E1C44 #859E1C #1C9E76
square
#351C9E #9E1C44 #859E1C #1C9E76
split-complementary
#351C9E #9E761C #449E1C
monochromatic
#120A36 #24136A #351C9E #4625D2 #6F54E1

Accessibility & contrast

On white

11.59
#351C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#351C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C9E
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C9E#FFFFFF#000000##FFFFFF
##351C9E1.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA2
Deuteranopia (green-blind)
#00349C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #351c9e;
/* rgb */ color: rgb(53, 28, 158);
/* oklch */ color: oklch(36.5% 0.191 280.0);
Tailwind
colors: {
  custom: {
    50: '#7c5dbc',
    500: '#351c9e',
    950: '#000000',
  },
}
SCSS
$custom: #351c9e;
$custom-light: #7c5dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#351c9e",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 158
  },
  "hsl": {
    "h": 251.538,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36513,
    "c": 0.19119,
    "h": 280
  },
  "luminance": 0.04056
}

Semantic roles & 50–950 ramp

primary
#351C9E
secondary
#AEC452
accent
#ED3BCB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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