#351767#351767

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

Color values

HEX#351767
RGBrgb(53, 23, 103)
HSLhsl(263, 63%, 25%)
HSVhsv(263, 78%, 40%)
CMYKcmyk(48.5%, 77.7%, 0%, 59.6%)
CIE-LABlab(17.22, 33.89, -41.36)
CIE-LCHlch(17.22, 53.47, 309.33°)
OKLaboklab(30.15% 0.0536 -0.1185)
OKLCHoklch(30.15% 0.13 294.3)
XYZxyz(4.2221, 2.3488, 13.0602)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351767 #496717
analogous
#172167 #351767 #5D1767
triadic
#351767 #673517 #176735
tetradic
#351767 #671721 #496717 #17675D
square
#351767 #671721 #496717 #17675D
split-complementary
#351767 #675D17 #216717
monochromatic
#0D0619 #1B0C35 #351767 #4F2299 #682DCB

Accessibility & contrast

On white

14.29
#351767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#351767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351767
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351767#FFFFFF#000000##FFFFFF
##3517671.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351767;
/* rgb */ color: rgb(53, 23, 103);
/* oklch */ color: oklch(30.2% 0.130 294.3);
Tailwind
colors: {
  custom: {
    50: '#725793',
    500: '#351767',
    950: '#000000',
  },
}
SCSS
$custom: #351767;
$custom-light: #725793;
$custom-dark: #000000;
JSON
{
  "hex": "#351767",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 262.5,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30154,
    "c": 0.13005,
    "h": 294.3
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#351767
secondary
#799D3D
accent
#E741A9
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351767

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

Preview Lab → · Contrast checker → · Palette generator →

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