#351F9E#351F9E

#351F9E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.8% C 0.189 H 279.7°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#351F9E
RGBrgb(53, 31, 158)
HSLhsl(250, 67%, 37%)
HSVhsv(250, 80%, 62%)
CMYKcmyk(66.5%, 80.4%, 0%, 38%)
CIE-LABlab(24.34, 46.42, -64.42)
CIE-LCHlch(24.34, 79.40, 305.77°)
OKLaboklab(36.85% 0.0317 -0.186)
OKLCHoklch(36.85% 0.189 279.7)
XYZxyz(8.1278, 4.2048, 32.7244)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351F9E #889E1F
analogous
#1F489E #351F9E #751F9E
triadic
#351F9E #9E351F #1F9E35
tetradic
#351F9E #9E1F48 #889E1F #1F9E75
square
#351F9E #9E1F48 #889E1F #1F9E75
split-complementary
#351F9E #9E751F #489E1F
monochromatic
#130B38 #24156B #351F9E #4629D1 #7059DE

Accessibility & contrast

On white

11.41
#351F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#351F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351F9E
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351F9E#FFFFFF#000000##FFFFFF
##351F9E1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA2
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#00465F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #351f9e;
/* rgb */ color: rgb(53, 31, 158);
/* oklch */ color: oklch(36.8% 0.189 279.7);
Tailwind
colors: {
  custom: {
    50: '#7c5fbc',
    500: '#351f9e',
    950: '#000000',
  },
}
SCSS
$custom: #351f9e;
$custom-light: #7c5fbc;
$custom-dark: #000000;
JSON
{
  "hex": "#351f9e",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 250.394,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36849,
    "c": 0.18868,
    "h": 279.7
  },
  "luminance": 0.04205
}

Semantic roles & 50–950 ramp

primary
#351F9E
secondary
#B0C256
accent
#EA3ECC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #351F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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