#351A9E#351A9E

#351A9E is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.193 H 280.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#351A9E
RGBrgb(53, 26, 158)
HSLhsl(252, 72%, 36%)
HSVhsv(252, 84%, 62%)
CMYKcmyk(66.5%, 83.5%, 0%, 38%)
CIE-LABlab(23.55, 48.71, -65.72)
CIE-LCHlch(23.55, 81.80, 306.54°)
OKLaboklab(36.31% 0.0341 -0.1897)
OKLCHoklch(36.31% 0.193 280.2)
XYZxyz(8.0072, 3.9637, 32.6842)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A9E #839E1A
analogous
#1A419E #351A9E #771A9E
triadic
#351A9E #9E351A #1A9E35
tetradic
#351A9E #9E1A41 #839E1A #1A9E77
square
#351A9E #9E1A41 #839E1A #1A9E77
split-complementary
#351A9E #9E771A #419E1A
monochromatic
#120935 #231169 #351A9E #4723D3 #6E50E2

Accessibility & contrast

On white

11.71
#351A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#351A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A9E
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A9E#FFFFFF#000000##FFFFFF
##351A9E1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.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: #351a9e;
/* rgb */ color: rgb(53, 26, 158);
/* oklch */ color: oklch(36.3% 0.193 280.2);
Tailwind
colors: {
  custom: {
    50: '#7c5cbc',
    500: '#351a9e',
    950: '#000000',
  },
}
SCSS
$custom: #351a9e;
$custom-light: #7c5cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#351a9e",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 158
  },
  "hsl": {
    "h": 252.273,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36305,
    "c": 0.19275,
    "h": 280.2
  },
  "luminance": 0.03964
}

Semantic roles & 50–950 ramp

primary
#351A9E
secondary
#ADC54F
accent
#EE39C9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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