#351B9F#351B9F

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

Color values

HEX#351B9F
RGBrgb(53, 27, 159)
HSLhsl(252, 71%, 36%)
HSVhsv(252, 83%, 62%)
CMYKcmyk(66.7%, 83%, 0%, 37.6%)
CIE-LABlab(23.81, 48.57, -65.90)
CIE-LCHlch(23.81, 81.86, 306.39°)
OKLaboklab(36.52% 0.0333 -0.1902)
OKLCHoklch(36.52% 0.193 279.9)
XYZxyz(8.1161, 4.0433, 33.1469)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B9F #859F1B
analogous
#1B439F #351B9F #771B9F
triadic
#351B9F #9F351B #1B9F35
tetradic
#351B9F #9F1B43 #859F1B #1B9F77
square
#351B9F #9F1B43 #859F1B #1B9F77
split-complementary
#351B9F #9F771B #439F1B
monochromatic
#120936 #24126B #351B9F #4624D3 #6F53E2

Accessibility & contrast

On white

11.61
#351B9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351B9F
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B9F#FFFFFF#000000##FFFFFF
##351B9F1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA3
Deuteranopia (green-blind)
#00349D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #351b9f;
/* rgb */ color: rgb(53, 27, 159);
/* oklch */ color: oklch(36.5% 0.193 279.9);
Tailwind
colors: {
  custom: {
    50: '#7c5dbd',
    500: '#351b9f',
    950: '#000000',
  },
}
SCSS
$custom: #351b9f;
$custom-light: #7c5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#351b9f",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 159
  },
  "hsl": {
    "h": 251.818,
    "s": 70.968,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36519,
    "c": 0.19314,
    "h": 279.9
  },
  "luminance": 0.04044
}

Semantic roles & 50–950 ramp

primary
#351B9F
secondary
#AEC551
accent
#EE3ACA
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351B9F

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

Preview Lab → · Contrast checker → · Palette generator →

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