#351F9F#351F9F

#351F9F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 37.0% C 0.190 H 279.5°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#351F9F
RGBrgb(53, 31, 159)
HSLhsl(250, 67%, 37%)
HSVhsv(250, 81%, 62%)
CMYKcmyk(66.7%, 80.5%, 0%, 37.6%)
CIE-LABlab(24.45, 46.72, -64.85)
CIE-LCHlch(24.45, 79.92, 305.77°)
OKLaboklab(36.96% 0.0314 -0.1872)
OKLCHoklch(36.96% 0.19 279.5)
XYZxyz(8.2142, 4.2394, 33.1796)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351F9F #899F1F
analogous
#1F499F #351F9F #751F9F
triadic
#351F9F #9F351F #1F9F35
tetradic
#351F9F #9F1F49 #899F1F #1F9F75
square
#351F9F #9F1F49 #899F1F #1F9F75
split-complementary
#351F9F #9F751F #499F1F
monochromatic
#130B39 #24156C #351F9F #4629D2 #715ADF

Accessibility & contrast

On white

11.36
#351F9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#351F9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351F9F
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351F9F#FFFFFF#000000##FFFFFF
##351F9F1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351f9f;
/* rgb */ color: rgb(53, 31, 159);
/* oklch */ color: oklch(37.0% 0.190 279.5);
Tailwind
colors: {
  custom: {
    50: '#7c5fbd',
    500: '#351f9f',
    950: '#000000',
  },
}
SCSS
$custom: #351f9f;
$custom-light: #7c5fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#351f9f",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 159
  },
  "hsl": {
    "h": 250.313,
    "s": 67.368,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36958,
    "c": 0.18986,
    "h": 279.5
  },
  "luminance": 0.0424
}

Semantic roles & 50–950 ramp

primary
#351F9F
secondary
#B0C357
accent
#EA3ECD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #351F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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