#351481#351481

#351481 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.5% C 0.164 H 286.8°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#351481
RGBrgb(53, 20, 129)
HSLhsl(258, 73%, 29%)
HSVhsv(258, 84%, 51%)
CMYKcmyk(58.9%, 84.5%, 0%, 49.4%)
CIE-LABlab(19.40, 42.89, -54.55)
CIE-LCHlch(19.40, 69.39, 308.18°)
OKLaboklab(32.48% 0.0475 -0.1571)
OKLCHoklch(32.48% 0.164 286.8)
XYZxyz(5.6796, 2.8419, 21.0139)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351481 #608114
analogous
#142A81 #351481 #6C1481
triadic
#351481 #813514 #148135
tetradic
#351481 #81142A #608114 #14816C
square
#351481 #81142A #608114 #14816C
split-complementary
#351481 #816C14 #2A8114
monochromatic
#0B041A #1F0C4C #351481 #4B1CB6 #6530DF

Accessibility & contrast

On white

13.39
#351481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#351481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351481
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351481#FFFFFF#000000##FFFFFF
##3514811.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#002C7F
Tritanopia (blue-blind)
#0F354C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351481;
/* rgb */ color: rgb(53, 20, 129);
/* oklch */ color: oklch(32.5% 0.164 286.8);
Tailwind
colors: {
  custom: {
    50: '#7757a7',
    500: '#351481',
    950: '#000000',
  },
}
SCSS
$custom: #351481;
$custom-light: #7757a7;
$custom-dark: #000000;
JSON
{
  "hex": "#351481",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 258.165,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32482,
    "c": 0.16411,
    "h": 286.8
  },
  "luminance": 0.02842
}

Semantic roles & 50–950 ramp

primary
#351481
secondary
#91B63B
accent
#F038B8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #351481

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

Preview Lab → · Contrast checker → · Palette generator →

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