#351980#351980

#351980 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.158 H 286.3°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#351980
RGBrgb(53, 25, 128)
HSLhsl(256, 67%, 30%)
HSVhsv(256, 80%, 50%)
CMYKcmyk(58.6%, 80.5%, 0%, 49.8%)
CIE-LABlab(20.09, 40.30, -52.78)
CIE-LCHlch(20.09, 66.41, 307.36°)
OKLaboklab(32.92% 0.0446 -0.152)
OKLCHoklch(32.92% 0.158 286.3)
XYZxyz(5.7109, 3.0103, 20.6980)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351980 #648019
analogous
#193080 #351980 #691980
triadic
#351980 #803519 #198035
tetradic
#351980 #801930 #648019 #198069
square
#351980 #801930 #648019 #198069
split-complementary
#351980 #806919 #308019
monochromatic
#0B051A #200F4D #351980 #4A23B3 #663BD9

Accessibility & contrast

On white

13.11
#351980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#351980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351980
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351980#FFFFFF#000000##FFFFFF
##3519801.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#10374C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351980;
/* rgb */ color: rgb(53, 25, 128);
/* oklch */ color: oklch(32.9% 0.158 286.3);
Tailwind
colors: {
  custom: {
    50: '#765aa6',
    500: '#351980',
    950: '#000000',
  },
}
SCSS
$custom: #351980;
$custom-light: #765aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#351980",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 256.311,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.32925,
    "c": 0.15839,
    "h": 286.3
  },
  "luminance": 0.03011
}

Semantic roles & 50–950 ramp

primary
#351980
secondary
#95B441
accent
#EA3EBB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351980

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

Preview Lab → · Contrast checker → · Palette generator →

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