#351566#351566

#351566 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.131 H 295.1°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#351566
RGBrgb(53, 21, 102)
HSLhsl(264, 66%, 24%)
HSVhsv(264, 79%, 40%)
CMYKcmyk(48%, 79.4%, 0%, 60%)
CIE-LABlab(16.76, 34.63, -41.45)
CIE-LCHlch(16.76, 54.02, 309.88°)
OKLaboklab(29.8% 0.0558 -0.1188)
OKLCHoklch(29.8% 0.131 295.1)
XYZxyz(4.1340, 2.2524, 12.7847)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351566 #466615
analogous
#151D66 #351566 #5E1566
triadic
#351566 #663515 #156635
tetradic
#351566 #66151D #466615 #15665E
square
#351566 #66151D #466615 #15665E
split-complementary
#351566 #665E15 #1D6615
monochromatic
#0D0519 #1B0B33 #351566 #4F1F99 #6A2ACC

Accessibility & contrast

On white

14.48
#351566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#351566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351566
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351566#FFFFFF#000000##FFFFFF
##3515661.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#272B3C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #351566;
/* rgb */ color: rgb(53, 21, 102);
/* oklch */ color: oklch(29.8% 0.131 295.1);
Tailwind
colors: {
  custom: {
    50: '#725692',
    500: '#351566',
    950: '#000000',
  },
}
SCSS
$custom: #351566;
$custom-light: #725692;
$custom-dark: #000000;
JSON
{
  "hex": "#351566",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 263.704,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.298,
    "c": 0.13122,
    "h": 295.1
  },
  "luminance": 0.02253
}

Semantic roles & 50–950 ramp

primary
#351566
secondary
#769D3A
accent
#E93FA6
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351566

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

Preview Lab → · Contrast checker → · Palette generator →

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