#351780#351780

#351780 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.160 H 286.7°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#351780
RGBrgb(53, 23, 128)
HSLhsl(257, 70%, 30%)
HSVhsv(257, 82%, 50%)
CMYKcmyk(58.6%, 82%, 0%, 49.8%)
CIE-LABlab(19.75, 41.26, -53.33)
CIE-LCHlch(19.75, 67.42, 307.73°)
OKLaboklab(32.69% 0.046 -0.1536)
OKLCHoklch(32.69% 0.16 286.7)
XYZxyz(5.6697, 2.9279, 20.6843)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351780 #628017
analogous
#172E80 #351780 #6A1780
triadic
#351780 #803517 #178035
tetradic
#351780 #80172E #628017 #17806A
square
#351780 #80172E #628017 #17806A
split-complementary
#351780 #806A17 #2E8017
monochromatic
#0B051A #200E4C #351780 #4A20B4 #6536DB

Accessibility & contrast

On white

13.24
#351780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351780
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351780#FFFFFF#000000##FFFFFF
##3517801.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351780;
/* rgb */ color: rgb(53, 23, 128);
/* oklch */ color: oklch(32.7% 0.160 286.7);
Tailwind
colors: {
  custom: {
    50: '#7659a6',
    500: '#351780',
    950: '#000000',
  },
}
SCSS
$custom: #351780;
$custom-light: #7659a6;
$custom-dark: #000000;
JSON
{
  "hex": "#351780",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 257.143,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32694,
    "c": 0.16029,
    "h": 286.7
  },
  "luminance": 0.02928
}

Semantic roles & 50–950 ramp

primary
#351780
secondary
#93B43E
accent
#EC3BBA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351780

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

Preview Lab → · Contrast checker → · Palette generator →

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