#351A9F#351A9F

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

Color values

HEX#351A9F
RGBrgb(53, 26, 159)
HSLhsl(252, 72%, 36%)
HSVhsv(252, 84%, 62%)
CMYKcmyk(66.7%, 83.6%, 0%, 37.6%)
CIE-LABlab(23.67, 49.00, -66.14)
CIE-LCHlch(23.67, 82.32, 306.53°)
OKLaboklab(36.42% 0.0338 -0.1909)
OKLCHoklch(36.42% 0.194 280)
XYZxyz(8.0936, 3.9982, 33.1394)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A9F #849F1A
analogous
#1A429F #351A9F #781A9F
triadic
#351A9F #9F351A #1A9F35
tetradic
#351A9F #9F1A42 #849F1A #1A9F78
square
#351A9F #9F1A42 #849F1A #1A9F78
split-complementary
#351A9F #9F781A #429F1A
monochromatic
#120936 #23116A #351A9F #4723D4 #6E51E3

Accessibility & contrast

On white

11.67
#351A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351A9F
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A9F#FFFFFF#000000##FFFFFF
##351A9F1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351a9f;
/* rgb */ color: rgb(53, 26, 159);
/* oklch */ color: oklch(36.4% 0.194 280.0);
Tailwind
colors: {
  custom: {
    50: '#7c5cbd',
    500: '#351a9f',
    950: '#000000',
  },
}
SCSS
$custom: #351a9f;
$custom-light: #7c5cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#351a9f",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 252.18,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36417,
    "c": 0.19391,
    "h": 280
  },
  "luminance": 0.03999
}

Semantic roles & 50–950 ramp

primary
#351A9F
secondary
#ADC550
accent
#EF39CA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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