#351768#351768

#351768 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.131 H 294.0°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#351768
RGBrgb(53, 23, 104)
HSLhsl(262, 64%, 25%)
HSVhsv(262, 78%, 41%)
CMYKcmyk(49%, 77.9%, 0%, 59.2%)
CIE-LABlab(17.32, 34.18, -41.86)
CIE-LCHlch(17.32, 54.04, 309.23°)
OKLaboklab(30.25% 0.0533 -0.12)
OKLCHoklch(30.25% 0.131 294)
XYZxyz(4.2726, 2.3690, 13.3262)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351768 #4A6817
analogous
#172268 #351768 #5E1768
triadic
#351768 #683517 #176835
tetradic
#351768 #681722 #4A6817 #17685E
square
#351768 #681722 #4A6817 #17685E
split-complementary
#351768 #685E17 #226817
monochromatic
#0D0619 #1B0C36 #351768 #4F229A #682DCC

Accessibility & contrast

On white

14.25
#351768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351768
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351768#FFFFFF#000000##FFFFFF
##3517681.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#262C3E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351768;
/* rgb */ color: rgb(53, 23, 104);
/* oklch */ color: oklch(30.3% 0.131 294.0);
Tailwind
colors: {
  custom: {
    50: '#725794',
    500: '#351768',
    950: '#000000',
  },
}
SCSS
$custom: #351768;
$custom-light: #725794;
$custom-dark: #000000;
JSON
{
  "hex": "#351768",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 262.222,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.3025,
    "c": 0.13129,
    "h": 294
  },
  "luminance": 0.02369
}

Semantic roles & 50–950 ramp

primary
#351768
secondary
#7A9E3D
accent
#E741A9
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351768

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

Preview Lab → · Contrast checker → · Palette generator →

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