#351668#351668

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

Color values

HEX#351668
RGBrgb(53, 22, 104)
HSLhsl(263, 65%, 25%)
HSVhsv(263, 79%, 41%)
CMYKcmyk(49%, 78.8%, 0%, 59.2%)
CIE-LABlab(17.13, 34.70, -42.16)
CIE-LCHlch(17.13, 54.60, 309.46°)
OKLaboklab(30.12% 0.0543 -0.1209)
OKLCHoklch(30.12% 0.132 294.2)
XYZxyz(4.2531, 2.3301, 13.3197)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351668 #496816
analogous
#162068 #351668 #5E1668
triadic
#351668 #683516 #166835
tetradic
#351668 #681620 #496816 #16685E
square
#351668 #681620 #496816 #16685E
split-complementary
#351668 #685E16 #206816
monochromatic
#0D0519 #1B0B35 #351668 #4F219B #682BCD

Accessibility & contrast

On white

14.32
#351668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351668
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351668#FFFFFF#000000##FFFFFF
##3516681.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351668;
/* rgb */ color: rgb(53, 22, 104);
/* oklch */ color: oklch(30.1% 0.132 294.2);
Tailwind
colors: {
  custom: {
    50: '#725794',
    500: '#351668',
    950: '#000000',
  },
}
SCSS
$custom: #351668;
$custom-light: #725794;
$custom-dark: #000000;
JSON
{
  "hex": "#351668",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 262.683,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30121,
    "c": 0.13248,
    "h": 294.2
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#351668
secondary
#799F3B
accent
#E840A8
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351668

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

Preview Lab → · Contrast checker → · Palette generator →

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