#351C7F#351C7F

#351C7F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.154 H 286.1°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#351C7F
RGBrgb(53, 28, 127)
HSLhsl(255, 64%, 30%)
HSVhsv(255, 78%, 50%)
CMYKcmyk(58.3%, 78%, 0%, 50.2%)
CIE-LABlab(20.52, 38.46, -51.44)
CIE-LCHlch(20.52, 64.23, 306.79°)
OKLaboklab(33.2% 0.0426 -0.1481)
OKLCHoklch(33.2% 0.154 286.1)
XYZxyz(5.7131, 3.1194, 20.3756)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C7F #667F1C
analogous
#1C347F #351C7F #671C7F
triadic
#351C7F #7F351C #1C7F35
tetradic
#351C7F #7F1C34 #667F1C #1C7F67
square
#351C7F #7F1C34 #667F1C #1C7F67
split-complementary
#351C7F #7F671C #347F1C
monochromatic
#0B061B #20114D #351C7F #4A27B1 #6640D5

Accessibility & contrast

On white

12.93
#351C7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#351C7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C7F
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C7F#FFFFFF#000000##FFFFFF
##351C7F1.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#12384C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351c7f;
/* rgb */ color: rgb(53, 28, 127);
/* oklch */ color: oklch(33.2% 0.154 286.1);
Tailwind
colors: {
  custom: {
    50: '#765ba5',
    500: '#351c7f',
    950: '#000000',
  },
}
SCSS
$custom: #351c7f;
$custom-light: #765ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#351c7f",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 127
  },
  "hsl": {
    "h": 255.152,
    "s": 63.871,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33195,
    "c": 0.1541,
    "h": 286.1
  },
  "luminance": 0.0312
}

Semantic roles & 50–950 ramp

primary
#351C7F
secondary
#97B344
accent
#E741BD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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