#351B9E#351B9E

#351B9E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.192 H 280.1°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#351B9E
RGBrgb(53, 27, 158)
HSLhsl(252, 71%, 36%)
HSVhsv(252, 83%, 62%)
CMYKcmyk(66.5%, 82.9%, 0%, 38%)
CIE-LABlab(23.70, 48.27, -65.47)
CIE-LCHlch(23.70, 81.35, 306.40°)
OKLaboklab(36.41% 0.0337 -0.189)
OKLCHoklch(36.41% 0.192 280.1)
XYZxyz(8.0297, 4.0087, 32.6917)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B9E #849E1B
analogous
#1B439E #351B9E #771B9E
triadic
#351B9E #9E351B #1B9E35
tetradic
#351B9E #9E1B43 #849E1B #1B9E77
square
#351B9E #9E1B43 #849E1B #1B9E77
split-complementary
#351B9E #9E771B #439E1B
monochromatic
#120935 #23126A #351B9E #4724D2 #6E52E1

Accessibility & contrast

On white

11.66
#351B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#351B9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B9E
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B9E#FFFFFF#000000##FFFFFF
##351B9E1.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351b9e;
/* rgb */ color: rgb(53, 27, 158);
/* oklch */ color: oklch(36.4% 0.192 280.1);
Tailwind
colors: {
  custom: {
    50: '#7c5dbc',
    500: '#351b9e',
    950: '#000000',
  },
}
SCSS
$custom: #351b9e;
$custom-light: #7c5dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#351b9e",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 158
  },
  "hsl": {
    "h": 251.908,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36408,
    "c": 0.19198,
    "h": 280.1
  },
  "luminance": 0.04009
}

Semantic roles & 50–950 ramp

primary
#351B9E
secondary
#ADC451
accent
#EE3ACA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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