#351666#351666

#351666 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.130 H 294.9°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#351666
RGBrgb(53, 22, 102)
HSLhsl(263, 65%, 24%)
HSVhsv(263, 78%, 40%)
CMYKcmyk(48%, 78.4%, 0%, 60%)
CIE-LABlab(16.94, 34.12, -41.16)
CIE-LCHlch(16.94, 53.46, 309.66°)
OKLaboklab(29.93% 0.0548 -0.1179)
OKLCHoklch(29.93% 0.13 294.9)
XYZxyz(4.1527, 2.2899, 12.7910)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351666 #476616
analogous
#161F66 #351666 #5D1666
triadic
#351666 #663516 #166635
tetradic
#351666 #66161F #476616 #16665D
square
#351666 #66161F #476616 #16665D
split-complementary
#351666 #665D16 #1F6616
monochromatic
#0D0519 #1B0B34 #351666 #4F2198 #692CCB

Accessibility & contrast

On white

14.40
#351666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#351666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351666
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351666#FFFFFF#000000##FFFFFF
##3516661.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#272B3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #351666;
/* rgb */ color: rgb(53, 22, 102);
/* oklch */ color: oklch(29.9% 0.130 294.9);
Tailwind
colors: {
  custom: {
    50: '#725792',
    500: '#351666',
    950: '#000000',
  },
}
SCSS
$custom: #351666;
$custom-light: #725792;
$custom-dark: #000000;
JSON
{
  "hex": "#351666",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 102
  },
  "hsl": {
    "h": 263.25,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.29927,
    "c": 0.13003,
    "h": 294.9
  },
  "luminance": 0.0229
}

Semantic roles & 50–950 ramp

primary
#351666
secondary
#779D3B
accent
#E840A7
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351666

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

Preview Lab → · Contrast checker → · Palette generator →

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