#351C67#351C67

#351C67 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 30.9% C 0.124 H 293.0°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#351C67
RGBrgb(53, 28, 103)
HSLhsl(260, 57%, 26%)
HSVhsv(260, 73%, 40%)
CMYKcmyk(48.5%, 72.8%, 0%, 59.6%)
CIE-LABlab(18.22, 31.10, -39.73)
CIE-LCHlch(18.22, 50.46, 308.05°)
OKLaboklab(30.86% 0.0483 -0.1138)
OKLCHoklch(30.86% 0.124 293)
XYZxyz(4.3310, 2.5665, 13.0965)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C67 #4E671C
analogous
#1C2867 #351C67 #5A1C67
triadic
#351C67 #67351C #1C6735
tetradic
#351C67 #671C28 #4E671C #1C675A
square
#351C67 #671C28 #4E671C #1C675A
split-complementary
#351C67 #675A1C #28671C
monochromatic
#0C0718 #1C0F37 #351C67 #4E2997 #6736C7

Accessibility & contrast

On white

13.88
#351C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#351C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C67
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C67#FFFFFF#000000##FFFFFF
##351C671.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#262F3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351c67;
/* rgb */ color: rgb(53, 28, 103);
/* oklch */ color: oklch(30.9% 0.124 293.0);
Tailwind
colors: {
  custom: {
    50: '#725a93',
    500: '#351c67',
    950: '#000000',
  },
}
SCSS
$custom: #351c67;
$custom-light: #725a93;
$custom-dark: #000000;
JSON
{
  "hex": "#351c67",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 260,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30862,
    "c": 0.12361,
    "h": 293
  },
  "luminance": 0.02567
}

Semantic roles & 50–950 ramp

primary
#351C67
secondary
#7E9C43
accent
#E147AD
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351C67

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

Preview Lab → · Contrast checker → · Palette generator →

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