#351C7C#351C7C

#351C7C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.150 H 286.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#351C7C
RGBrgb(53, 28, 124)
HSLhsl(256, 63%, 30%)
HSVhsv(256, 77%, 49%)
CMYKcmyk(57.3%, 77.4%, 0%, 51.4%)
CIE-LABlab(20.21, 37.55, -50.03)
CIE-LCHlch(20.21, 62.55, 306.89°)
OKLaboklab(32.89% 0.0435 -0.144)
OKLCHoklch(32.89% 0.15 286.8)
XYZxyz(5.5205, 3.0423, 19.3612)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C7C #637C1C
analogous
#1C337C #351C7C #651C7C
triadic
#351C7C #7C351C #1C7C35
tetradic
#351C7C #7C1C33 #637C1C #1C7C65
square
#351C7C #7C1C33 #637C1C #1C7C65
split-complementary
#351C7C #7C651C #337C1C
monochromatic
#0B0619 #20114A #351C7C #4A27AE #663FD4

Accessibility & contrast

On white

13.05
#351C7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#351C7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C7C
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C7C#FFFFFF#000000##FFFFFF
##351C7C1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#002E7A
Tritanopia (blue-blind)
#16374B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351c7c;
/* rgb */ color: rgb(53, 28, 124);
/* oklch */ color: oklch(32.9% 0.150 286.8);
Tailwind
colors: {
  custom: {
    50: '#755ba3',
    500: '#351c7c',
    950: '#000000',
  },
}
SCSS
$custom: #351c7c;
$custom-light: #755ba3;
$custom-dark: #000000;
JSON
{
  "hex": "#351c7c",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 124
  },
  "hsl": {
    "h": 255.625,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3289,
    "c": 0.15039,
    "h": 286.8
  },
  "luminance": 0.03043
}

Semantic roles & 50–950 ramp

primary
#351C7C
secondary
#94B044
accent
#E642BB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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