#351F9A#351F9A

#351F9A is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.184 H 280.3°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#351F9A
RGBrgb(53, 31, 154)
HSLhsl(251, 66%, 36%)
HSVhsv(251, 80%, 60%)
CMYKcmyk(65.6%, 79.9%, 0%, 39.6%)
CIE-LABlab(23.90, 45.20, -62.70)
CIE-LCHlch(23.90, 77.29, 305.79°)
OKLaboklab(36.41% 0.0328 -0.181)
OKLCHoklch(36.41% 0.184 280.3)
XYZxyz(7.7891, 4.0693, 30.9406)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351F9A #849A1F
analogous
#1F479A #351F9A #731F9A
triadic
#351F9A #9A351F #1F9A35
tetradic
#351F9A #9A1F47 #849A1F #1F9A73
square
#351F9A #9A1F47 #849A1F #1F9A73
split-complementary
#351F9A #9A731F #479A1F
monochromatic
#120A34 #231567 #351F9A #4729CD #6E56DD

Accessibility & contrast

On white

11.58
#351F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351F9A
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351F9A#FFFFFF#000000##FFFFFF
##351F9A1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00445C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #351f9a;
/* rgb */ color: rgb(53, 31, 154);
/* oklch */ color: oklch(36.4% 0.184 280.3);
Tailwind
colors: {
  custom: {
    50: '#7b5fb9',
    500: '#351f9a',
    950: '#000000',
  },
}
SCSS
$custom: #351f9a;
$custom-light: #7b5fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#351f9a",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 154
  },
  "hsl": {
    "h": 250.732,
    "s": 66.486,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36414,
    "c": 0.18393,
    "h": 280.3
  },
  "luminance": 0.0407
}

Semantic roles & 50–950 ramp

primary
#351F9A
secondary
#ADC154
accent
#E93ECB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #351F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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