#351676#351676

#351676 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.149 H 289.6°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#351676
RGBrgb(53, 22, 118)
HSLhsl(259, 69%, 27%)
HSVhsv(259, 81%, 46%)
CMYKcmyk(55.1%, 81.4%, 0%, 53.7%)
CIE-LABlab(18.53, 38.80, -48.95)
CIE-LCHlch(18.53, 62.46, 308.40°)
OKLaboklab(31.53% 0.05 -0.1408)
OKLCHoklch(31.53% 0.149 289.6)
XYZxyz(5.0242, 2.6385, 17.3806)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351676 #577616
analogous
#162776 #351676 #651676
triadic
#351676 #763516 #167635
tetradic
#351676 #761627 #577616 #167665
square
#351676 #761627 #577616 #167665
split-complementary
#351676 #766516 #277616
monochromatic
#0C051A #1E0C42 #351676 #4C20AA #652ED8

Accessibility & contrast

On white

13.75
#351676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#351676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351676
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351676#FFFFFF#000000##FFFFFF
##3516761.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351676;
/* rgb */ color: rgb(53, 22, 118);
/* oklch */ color: oklch(31.5% 0.149 289.6);
Tailwind
colors: {
  custom: {
    50: '#75589e',
    500: '#351676',
    950: '#000000',
  },
}
SCSS
$custom: #351676;
$custom-light: #75589e;
$custom-dark: #000000;
JSON
{
  "hex": "#351676",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 259.375,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31529,
    "c": 0.14938,
    "h": 289.6
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

primary
#351676
secondary
#88AC3C
accent
#EB3CB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351676

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

Preview Lab → · Contrast checker → · Palette generator →

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