#351C7D#351C7D

#351C7D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.152 H 286.5°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#351C7D
RGBrgb(53, 28, 125)
HSLhsl(255, 63%, 30%)
HSVhsv(255, 78%, 49%)
CMYKcmyk(57.6%, 77.6%, 0%, 51%)
CIE-LABlab(20.31, 37.85, -50.50)
CIE-LCHlch(20.31, 63.11, 306.85°)
OKLaboklab(32.99% 0.0432 -0.1453)
OKLCHoklch(32.99% 0.152 286.5)
XYZxyz(5.5840, 3.0678, 19.6960)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C7D #647D1C
analogous
#1C337D #351C7D #661C7D
triadic
#351C7D #7D351C #1C7D35
tetradic
#351C7D #7D1C33 #647D1C #1C7D66
square
#351C7D #7D1C33 #647D1C #1C7D66
split-complementary
#351C7D #7D661C #337D1C
monochromatic
#0B0619 #20114B #351C7D #4A27AF #663FD4

Accessibility & contrast

On white

13.01
#351C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351C7D
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C7D#FFFFFF#000000##FFFFFF
##351C7D1.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#14374B
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351c7d;
/* rgb */ color: rgb(53, 28, 125);
/* oklch */ color: oklch(33.0% 0.152 286.5);
Tailwind
colors: {
  custom: {
    50: '#755ba4',
    500: '#351c7d',
    950: '#000000',
  },
}
SCSS
$custom: #351c7d;
$custom-light: #755ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#351c7d",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 125
  },
  "hsl": {
    "h": 255.464,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.32991,
    "c": 0.15163,
    "h": 286.5
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#351C7D
secondary
#95B144
accent
#E641BC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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