#351766#351766

#351766 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.129 H 294.7°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#351766
RGBrgb(53, 23, 102)
HSLhsl(263, 63%, 25%)
HSVhsv(263, 77%, 40%)
CMYKcmyk(48%, 77.5%, 0%, 60%)
CIE-LABlab(17.13, 33.59, -40.85)
CIE-LCHlch(17.13, 52.89, 309.43°)
OKLaboklab(30.06% 0.0538 -0.117)
OKLCHoklch(30.06% 0.129 294.7)
XYZxyz(4.1722, 2.3289, 12.7975)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351766 #486617
analogous
#172166 #351766 #5D1766
triadic
#351766 #663517 #176635
tetradic
#351766 #661721 #486617 #17665D
square
#351766 #661721 #486617 #17665D
split-complementary
#351766 #665D17 #216617
monochromatic
#0D0619 #1B0C34 #351766 #4F2298 #692ECA

Accessibility & contrast

On white

14.33
#351766 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351766
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351766#FFFFFF#000000##FFFFFF
##3517661.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351766;
/* rgb */ color: rgb(53, 23, 102);
/* oklch */ color: oklch(30.1% 0.129 294.7);
Tailwind
colors: {
  custom: {
    50: '#725792',
    500: '#351766',
    950: '#000000',
  },
}
SCSS
$custom: #351766;
$custom-light: #725792;
$custom-dark: #000000;
JSON
{
  "hex": "#351766",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 102
  },
  "hsl": {
    "h": 262.785,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30058,
    "c": 0.12881,
    "h": 294.7
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#351766
secondary
#789C3C
accent
#E642A8
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351766

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

Preview Lab → · Contrast checker → · Palette generator →

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