#351576#351576

#351576 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.150 H 289.7°. Best body text is #FFFFFF at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#351576
RGBrgb(53, 21, 118)
HSLhsl(260, 70%, 27%)
HSVhsv(260, 82%, 46%)
CMYKcmyk(55.1%, 82.2%, 0%, 53.7%)
CIE-LABlab(18.37, 39.27, -49.22)
CIE-LCHlch(18.37, 62.97, 308.58°)
OKLaboklab(31.42% 0.0508 -0.1415)
OKLCHoklch(31.42% 0.15 289.7)
XYZxyz(5.0054, 2.6010, 17.3743)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351576 #567615
analogous
#152576 #351576 #661576
triadic
#351576 #763515 #157635
tetradic
#351576 #761525 #567615 #157666
square
#351576 #761525 #567615 #157666
split-complementary
#351576 #766615 #257615
monochromatic
#0C051A #1E0C42 #351576 #4C1EAA #652CD9

Accessibility & contrast

On white

13.81
#351576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#351576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351576
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351576#FFFFFF#000000##FFFFFF
##3515761.0013.811.5213.81
#FFFFFF13.811.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#1C3146
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351576;
/* rgb */ color: rgb(53, 21, 118);
/* oklch */ color: oklch(31.4% 0.150 289.7);
Tailwind
colors: {
  custom: {
    50: '#75579e',
    500: '#351576',
    950: '#000000',
  },
}
SCSS
$custom: #351576;
$custom-light: #75579e;
$custom-dark: #000000;
JSON
{
  "hex": "#351576",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 259.794,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31415,
    "c": 0.15037,
    "h": 289.7
  },
  "luminance": 0.02601
}

Semantic roles & 50–950 ramp

primary
#351576
secondary
#87AC3B
accent
#ED3BB2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351576

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

Preview Lab → · Contrast checker → · Palette generator →

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