#351F9C#351F9C

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

Color values

HEX#351F9C
RGBrgb(53, 31, 156)
HSLhsl(251, 67%, 37%)
HSVhsv(251, 80%, 61%)
CMYKcmyk(66%, 80.1%, 0%, 38.8%)
CIE-LABlab(24.12, 45.81, -63.56)
CIE-LCHlch(24.12, 78.35, 305.78°)
OKLaboklab(36.63% 0.0323 -0.1835)
OKLCHoklch(36.63% 0.186 280)
XYZxyz(7.9570, 4.1365, 31.8252)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351F9C #869C1F
analogous
#1F489C #351F9C #741F9C
triadic
#351F9C #9C351F #1F9C35
tetradic
#351F9C #9C1F48 #869C1F #1F9C74
square
#351F9C #9C1F48 #869C1F #1F9C74
split-complementary
#351F9C #9C741F #489C1F
monochromatic
#120B36 #241569 #351F9C #4629CF #6F58DE

Accessibility & contrast

On white

11.49
#351F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#351F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351F9C
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351F9C#FFFFFF#000000##FFFFFF
##351F9C1.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #351f9c;
/* rgb */ color: rgb(53, 31, 156);
/* oklch */ color: oklch(36.6% 0.186 280.0);
Tailwind
colors: {
  custom: {
    50: '#7b5fba',
    500: '#351f9c',
    950: '#000000',
  },
}
SCSS
$custom: #351f9c;
$custom-light: #7b5fba;
$custom-dark: #000000;
JSON
{
  "hex": "#351f9c",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 156
  },
  "hsl": {
    "h": 250.56,
    "s": 66.845,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36631,
    "c": 0.18631,
    "h": 280
  },
  "luminance": 0.04137
}

Semantic roles & 50–950 ramp

primary
#351F9C
secondary
#AEC155
accent
#EA3ECC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #351F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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