#351667#351667

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

Color values

HEX#351667
RGBrgb(53, 22, 103)
HSLhsl(263, 65%, 25%)
HSVhsv(263, 79%, 40%)
CMYKcmyk(48.5%, 78.6%, 0%, 59.6%)
CIE-LABlab(17.04, 34.41, -41.66)
CIE-LCHlch(17.04, 54.03, 309.56°)
OKLaboklab(30.02% 0.0545 -0.1194)
OKLCHoklch(30.02% 0.131 294.5)
XYZxyz(4.2026, 2.3099, 13.0538)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351667 #486716
analogous
#162067 #351667 #5E1667
triadic
#351667 #673516 #166735
tetradic
#351667 #671620 #486716 #16675E
square
#351667 #671620 #486716 #16675E
split-complementary
#351667 #675E16 #206716
monochromatic
#0D0519 #1B0B35 #351667 #4F2199 #692CCC

Accessibility & contrast

On white

14.36
#351667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351667
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351667#FFFFFF#000000##FFFFFF
##3516671.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002965
Tritanopia (blue-blind)
#272C3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #351667;
/* rgb */ color: rgb(53, 22, 103);
/* oklch */ color: oklch(30.0% 0.131 294.5);
Tailwind
colors: {
  custom: {
    50: '#725793',
    500: '#351667',
    950: '#000000',
  },
}
SCSS
$custom: #351667;
$custom-light: #725793;
$custom-dark: #000000;
JSON
{
  "hex": "#351667",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 262.963,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30024,
    "c": 0.13125,
    "h": 294.5
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#351667
secondary
#789E3B
accent
#E840A8
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351667

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

Preview Lab → · Contrast checker → · Palette generator →

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