#351C66#351C66

#351C66 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.122 H 293.4°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#351C66
RGBrgb(53, 28, 102)
HSLhsl(260, 57%, 25%)
HSVhsv(260, 73%, 40%)
CMYKcmyk(48%, 72.5%, 0%, 60%)
CIE-LABlab(18.13, 30.80, -39.22)
CIE-LCHlch(18.13, 49.87, 308.14°)
OKLaboklab(30.77% 0.0485 -0.1123)
OKLCHoklch(30.77% 0.122 293.4)
XYZxyz(4.2811, 2.5466, 12.8338)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C66 #4D661C
analogous
#1C2866 #351C66 #5A1C66
triadic
#351C66 #66351C #1C6635
tetradic
#351C66 #661C28 #4D661C #1C665A
square
#351C66 #661C28 #4D661C #1C665A
split-complementary
#351C66 #665A1C #28661C
monochromatic
#0C0718 #1C0F36 #351C66 #4E2996 #6736C6

Accessibility & contrast

On white

13.91
#351C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351C66
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C66#FFFFFF#000000##FFFFFF
##351C661.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#272E3E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351c66;
/* rgb */ color: rgb(53, 28, 102);
/* oklch */ color: oklch(30.8% 0.122 293.4);
Tailwind
colors: {
  custom: {
    50: '#715a92',
    500: '#351c66',
    950: '#000000',
  },
}
SCSS
$custom: #351c66;
$custom-light: #715a92;
$custom-dark: #000000;
JSON
{
  "hex": "#351c66",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 102
  },
  "hsl": {
    "h": 260.27,
    "s": 56.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3077,
    "c": 0.1223,
    "h": 293.4
  },
  "luminance": 0.02547
}

Semantic roles & 50–950 ramp

primary
#351C66
secondary
#7D9B43
accent
#E048AD
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #351C66

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

Preview Lab → · Contrast checker → · Palette generator →

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