#351381#351381

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

Color values

HEX#351381
RGBrgb(53, 19, 129)
HSLhsl(259, 74%, 29%)
HSVhsv(259, 85%, 51%)
CMYKcmyk(58.9%, 85.3%, 0%, 49.4%)
CIE-LABlab(19.25, 43.32, -54.78)
CIE-LCHlch(19.25, 69.84, 308.33°)
OKLaboklab(32.38% 0.0481 -0.1578)
OKLCHoklch(32.38% 0.165 287)
XYZxyz(5.6623, 2.8073, 21.0081)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351381 #5F8113
analogous
#132881 #351381 #6C1381
triadic
#351381 #813513 #138135
tetradic
#351381 #811328 #5F8113 #13816C
square
#351381 #811328 #5F8113 #13816C
split-complementary
#351381 #816C13 #288113
monochromatic
#0B041B #1F0B4C #351381 #4B1BB6 #652EE0

Accessibility & contrast

On white

13.45
#351381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351381
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351381#FFFFFF#000000##FFFFFF
##3513811.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351381;
/* rgb */ color: rgb(53, 19, 129);
/* oklch */ color: oklch(32.4% 0.165 287.0);
Tailwind
colors: {
  custom: {
    50: '#7757a7',
    500: '#351381',
    950: '#000000',
  },
}
SCSS
$custom: #351381;
$custom-light: #7757a7;
$custom-dark: #000000;
JSON
{
  "hex": "#351381",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 258.545,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32383,
    "c": 0.16494,
    "h": 287
  },
  "luminance": 0.02808
}

Semantic roles & 50–950 ramp

primary
#351381
secondary
#90B63A
accent
#F137B7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #351381

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

Preview Lab → · Contrast checker → · Palette generator →

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