#351661#351661

#351661 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.124 H 296.9°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#351661
RGBrgb(53, 22, 97)
HSLhsl(265, 63%, 23%)
HSVhsv(265, 77%, 38%)
CMYKcmyk(45.4%, 77.3%, 0%, 62%)
CIE-LABlab(16.47, 32.67, -38.62)
CIE-LCHlch(16.47, 50.58, 310.23°)
OKLaboklab(29.45% 0.0561 -0.1105)
OKLCHoklch(29.45% 0.124 296.9)
XYZxyz(3.9122, 2.1937, 11.5242)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351661 #426116
analogous
#161C61 #351661 #5A1661
triadic
#351661 #613516 #166135
tetradic
#351661 #61161C #426116 #16615A
square
#351661 #61161C #426116 #16615A
split-complementary
#351661 #615A16 #1C6116
monochromatic
#0E0619 #1A0B2F #351661 #502193 #6C2DC5

Accessibility & contrast

On white

14.60
#351661 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#351661 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351661
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351661#FFFFFF#000000##FFFFFF
##3516611.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002963
Deuteranopia (green-blind)
#002860
Tritanopia (blue-blind)
#2A293A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #351661;
/* rgb */ color: rgb(53, 22, 97);
/* oklch */ color: oklch(29.5% 0.124 296.9);
Tailwind
colors: {
  custom: {
    50: '#71568f',
    500: '#351661',
    950: '#000000',
  },
}
SCSS
$custom: #351661;
$custom-light: #71568f;
$custom-dark: #000000;
JSON
{
  "hex": "#351661",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 97
  },
  "hsl": {
    "h": 264.8,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29452,
    "c": 0.12387,
    "h": 296.9
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#351661
secondary
#71983B
accent
#E642A2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351661

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

Preview Lab → · Contrast checker → · Palette generator →

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