#351B80#351B80

#351B80 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.156 H 286.0°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#351B80
RGBrgb(53, 27, 128)
HSLhsl(255, 65%, 30%)
HSVhsv(255, 79%, 50%)
CMYKcmyk(58.6%, 78.9%, 0%, 49.8%)
CIE-LABlab(20.44, 39.29, -52.20)
CIE-LCHlch(20.44, 65.34, 306.97°)
OKLaboklab(33.17% 0.0431 -0.1503)
OKLCHoklch(33.17% 0.156 286)
XYZxyz(5.7552, 3.0989, 20.7128)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B80 #66801B
analogous
#1B3380 #351B80 #681B80
triadic
#351B80 #80351B #1B8035
tetradic
#351B80 #801B33 #66801B #1B8068
square
#351B80 #801B33 #66801B #1B8068
split-complementary
#351B80 #80681B #33801B
monochromatic
#0B061B #20104D #351B80 #4A26B3 #663FD6

Accessibility & contrast

On white

12.96
#351B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#351B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B80
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B80#FFFFFF#000000##FFFFFF
##351B801.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#10384D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351b80;
/* rgb */ color: rgb(53, 27, 128);
/* oklch */ color: oklch(33.2% 0.156 286.0);
Tailwind
colors: {
  custom: {
    50: '#765ba6',
    500: '#351b80',
    950: '#000000',
  },
}
SCSS
$custom: #351b80;
$custom-light: #765ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#351b80",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 255.446,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3317,
    "c": 0.15638,
    "h": 286
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#351B80
secondary
#97B443
accent
#E840BD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351B80

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

Preview Lab → · Contrast checker → · Palette generator →

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