#351C7A#351C7A

#351C7A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.148 H 287.3°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#351C7A
RGBrgb(53, 28, 122)
HSLhsl(256, 63%, 29%)
HSVhsv(256, 77%, 48%)
CMYKcmyk(56.6%, 77%, 0%, 52.2%)
CIE-LABlab(20.01, 36.93, -49.08)
CIE-LCHlch(20.01, 61.43, 306.96°)
OKLaboklab(32.69% 0.044 -0.1412)
OKLCHoklch(32.69% 0.148 287.3)
XYZxyz(5.3953, 2.9922, 18.7019)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C7A #617A1C
analogous
#1C327A #351C7A #641C7A
triadic
#351C7A #7A351C #1C7A35
tetradic
#351C7A #7A1C32 #617A1C #1C7A64
square
#351C7A #7A1C32 #617A1C #1C7A64
split-complementary
#351C7A #7A641C #327A1C
monochromatic
#0B0619 #1F1148 #351C7A #4B27AC #653ED3

Accessibility & contrast

On white

13.14
#351C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#351C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C7A
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C7A#FFFFFF#000000##FFFFFF
##351C7A1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002E78
Tritanopia (blue-blind)
#183649
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351c7a;
/* rgb */ color: rgb(53, 28, 122);
/* oklch */ color: oklch(32.7% 0.148 287.3);
Tailwind
colors: {
  custom: {
    50: '#755ba1',
    500: '#351c7a',
    950: '#000000',
  },
}
SCSS
$custom: #351c7a;
$custom-light: #755ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#351c7a",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 255.957,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32689,
    "c": 0.1479,
    "h": 287.3
  },
  "luminance": 0.02993
}

Semantic roles & 50–950 ramp

primary
#351C7A
secondary
#92AE44
accent
#E642BA
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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