#351C68#351C68

#351C68 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.0% C 0.125 H 292.7°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#351C68
RGBrgb(53, 28, 104)
HSLhsl(260, 58%, 26%)
HSVhsv(260, 73%, 41%)
CMYKcmyk(49%, 73.1%, 0%, 59.2%)
CIE-LABlab(18.31, 31.41, -40.24)
CIE-LCHlch(18.31, 51.05, 307.97°)
OKLaboklab(30.95% 0.0482 -0.1153)
OKLCHoklch(30.95% 0.125 292.7)
XYZxyz(4.3815, 2.5867, 13.3625)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C68 #4F681C
analogous
#1C2968 #351C68 #5B1C68
triadic
#351C68 #68351C #1C6835
tetradic
#351C68 #681C29 #4F681C #1C685B
square
#351C68 #681C29 #4F681C #1C685B
split-complementary
#351C68 #685B1C #29681C
monochromatic
#0C0618 #1C0F38 #351C68 #4E2998 #6636C8

Accessibility & contrast

On white

13.84
#351C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#351C68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C68
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C68#FFFFFF#000000##FFFFFF
##351C681.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#262F3F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351c68;
/* rgb */ color: rgb(53, 28, 104);
/* oklch */ color: oklch(31.0% 0.125 292.7);
Tailwind
colors: {
  custom: {
    50: '#725a94',
    500: '#351c68',
    950: '#000000',
  },
}
SCSS
$custom: #351c68;
$custom-light: #725a94;
$custom-dark: #000000;
JSON
{
  "hex": "#351c68",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 259.737,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30953,
    "c": 0.12492,
    "h": 292.7
  },
  "luminance": 0.02587
}

Semantic roles & 50–950 ramp

primary
#351C68
secondary
#7F9D43
accent
#E147AE
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351C68

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

Preview Lab → · Contrast checker → · Palette generator →

#351C68 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva