#351A89#351A89

#351A89 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.168 H 284.1°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#351A89
RGBrgb(53, 26, 137)
HSLhsl(255, 68%, 32%)
HSVhsv(255, 81%, 54%)
CMYKcmyk(61.3%, 81%, 0%, 46.3%)
CIE-LABlab(21.21, 42.50, -56.59)
CIE-LCHlch(21.21, 70.78, 306.91°)
OKLaboklab(34% 0.041 -0.1631)
OKLCHoklch(34% 0.168 284.1)
XYZxyz(6.3516, 3.3014, 23.9646)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A89 #6E891A
analogous
#1A3689 #351A89 #6D1A89
triadic
#351A89 #89351A #1A8935
tetradic
#351A89 #891A36 #6E891A #1A896D
square
#351A89 #891A36 #6E891A #1A896D
split-complementary
#351A89 #896D1A #36891A
monochromatic
#0D0622 #211056 #351A89 #4924BC #6742DB

Accessibility & contrast

On white

12.65
#351A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#351A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A89
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A89#FFFFFF#000000##FFFFFF
##351A891.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #351a89;
/* rgb */ color: rgb(53, 26, 137);
/* oklch */ color: oklch(34.0% 0.168 284.1);
Tailwind
colors: {
  custom: {
    50: '#785bad',
    500: '#351a89',
    950: '#000000',
  },
}
SCSS
$custom: #351a89;
$custom-light: #785bad;
$custom-dark: #000000;
JSON
{
  "hex": "#351a89",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 137
  },
  "hsl": {
    "h": 254.595,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33997,
    "c": 0.16821,
    "h": 284.1
  },
  "luminance": 0.03302
}

Semantic roles & 50–950 ramp

primary
#351A89
secondary
#9FBC43
accent
#EB3DC1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351A89

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

Preview Lab → · Contrast checker → · Palette generator →

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