#351480#351480

#351480 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.4% C 0.163 H 287.1°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#351480
RGBrgb(53, 20, 128)
HSLhsl(258, 73%, 29%)
HSVhsv(258, 84%, 50%)
CMYKcmyk(58.6%, 84.4%, 0%, 49.8%)
CIE-LABlab(19.29, 42.61, -54.09)
CIE-LCHlch(19.29, 68.86, 308.23°)
OKLaboklab(32.37% 0.0479 -0.1558)
OKLCHoklch(32.37% 0.163 287.1)
XYZxyz(5.6135, 2.8154, 20.6655)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351480 #5F8014
analogous
#142980 #351480 #6B1480
triadic
#351480 #803514 #148035
tetradic
#351480 #801429 #5F8014 #14806B
square
#351480 #801429 #5F8014 #14806B
split-complementary
#351480 #806B14 #298014
monochromatic
#0B041A #1F0C4B #351480 #4B1CB5 #6530DF

Accessibility & contrast

On white

13.43
#351480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#351480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351480
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351480#FFFFFF#000000##FFFFFF
##3514801.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#11354B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351480;
/* rgb */ color: rgb(53, 20, 128);
/* oklch */ color: oklch(32.4% 0.163 287.1);
Tailwind
colors: {
  custom: {
    50: '#7657a6',
    500: '#351480',
    950: '#000000',
  },
}
SCSS
$custom: #351480;
$custom-light: #7657a6;
$custom-dark: #000000;
JSON
{
  "hex": "#351480",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 258.333,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32373,
    "c": 0.16296,
    "h": 287.1
  },
  "luminance": 0.02816
}

Semantic roles & 50–950 ramp

primary
#351480
secondary
#90B53B
accent
#F038B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #351480

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

Preview Lab → · Contrast checker → · Palette generator →

#351480 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva