#351C6B#351C6B

#351C6B is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.129 H 291.7°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#351C6B
RGBrgb(53, 28, 107)
HSLhsl(259, 59%, 26%)
HSVhsv(259, 74%, 42%)
CMYKcmyk(50.5%, 73.8%, 0%, 58%)
CIE-LABlab(18.58, 32.32, -41.76)
CIE-LCHlch(18.58, 52.81, 307.74°)
OKLaboklab(31.23% 0.0476 -0.1197)
OKLCHoklch(31.23% 0.129 291.7)
XYZxyz(4.5365, 2.6488, 14.1793)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C6B #526B1C
analogous
#1C2B6B #351C6B #5D1C6B
triadic
#351C6B #6B351C #1C6B35
tetradic
#351C6B #6B1C2B #526B1C #1C6B5D
square
#351C6B #6B1C2B #526B1C #1C6B5D
split-complementary
#351C6B #6B5D1C #2B6B1C
monochromatic
#0C0618 #1D0F3A #351C6B #4D299C #6637CB

Accessibility & contrast

On white

13.73
#351C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#351C6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C6B
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C6B#FFFFFF#000000##FFFFFF
##351C6B1.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6D
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#243041
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351c6b;
/* rgb */ color: rgb(53, 28, 107);
/* oklch */ color: oklch(31.2% 0.129 291.7);
Tailwind
colors: {
  custom: {
    50: '#725a96',
    500: '#351c6b',
    950: '#000000',
  },
}
SCSS
$custom: #351c6b;
$custom-light: #725a96;
$custom-dark: #000000;
JSON
{
  "hex": "#351c6b",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 107
  },
  "hsl": {
    "h": 258.987,
    "s": 58.519,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31232,
    "c": 0.12882,
    "h": 291.7
  },
  "luminance": 0.02649
}

Semantic roles & 50–950 ramp

primary
#351C6B
secondary
#82A043
accent
#E246B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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