#351880#351880

#351880 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.159 H 286.5°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#351880
RGBrgb(53, 24, 128)
HSLhsl(257, 68%, 30%)
HSVhsv(257, 81%, 50%)
CMYKcmyk(58.6%, 81.3%, 0%, 49.8%)
CIE-LABlab(19.92, 40.78, -53.06)
CIE-LCHlch(19.92, 66.92, 307.55°)
OKLaboklab(32.81% 0.0453 -0.1528)
OKLCHoklch(32.81% 0.159 286.5)
XYZxyz(5.6899, 2.9683, 20.6910)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351880 #638018
analogous
#182F80 #351880 #691880
triadic
#351880 #803518 #188035
tetradic
#351880 #80182F #638018 #188069
square
#351880 #80182F #638018 #188069
split-complementary
#351880 #806918 #2F8018
monochromatic
#0B051A #200E4C #351880 #4A22B4 #6639DA

Accessibility & contrast

On white

13.18
#351880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#351880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351880
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351880#FFFFFF#000000##FFFFFF
##3518801.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351880;
/* rgb */ color: rgb(53, 24, 128);
/* oklch */ color: oklch(32.8% 0.159 286.5);
Tailwind
colors: {
  custom: {
    50: '#7659a6',
    500: '#351880',
    950: '#000000',
  },
}
SCSS
$custom: #351880;
$custom-light: #7659a6;
$custom-dark: #000000;
JSON
{
  "hex": "#351880",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 256.731,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32808,
    "c": 0.15936,
    "h": 286.5
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#351880
secondary
#94B440
accent
#EB3DBB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351880

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

Preview Lab → · Contrast checker → · Palette generator →

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