#351C73#351C73

#351C73 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.139 H 289.2°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#351C73
RGBrgb(53, 28, 115)
HSLhsl(257, 61%, 28%)
HSVhsv(257, 76%, 45%)
CMYKcmyk(53.9%, 75.7%, 0%, 54.9%)
CIE-LABlab(19.33, 34.78, -45.71)
CIE-LCHlch(19.33, 57.44, 307.26°)
OKLaboklab(32% 0.0458 -0.1313)
OKLCHoklch(32% 0.139 289.2)
XYZxyz(4.9771, 2.8250, 16.4994)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C73 #5A731C
analogous
#1C2F73 #351C73 #601C73
triadic
#351C73 #73351C #1C7335
tetradic
#351C73 #731C2F #5A731C #1C7360
square
#351C73 #731C2F #5A731C #1C7360
split-complementary
#351C73 #73601C #2F731C
monochromatic
#0B0619 #1E1042 #351C73 #4C28A4 #653ACF

Accessibility & contrast

On white

13.42
#351C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#351C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C73
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C73#FFFFFF#000000##FFFFFF
##351C731.0013.421.5713.42
#FFFFFF13.421.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#1E3345
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351c73;
/* rgb */ color: rgb(53, 28, 115);
/* oklch */ color: oklch(32.0% 0.139 289.2);
Tailwind
colors: {
  custom: {
    50: '#735b9c',
    500: '#351c73',
    950: '#000000',
  },
}
SCSS
$custom: #351c73;
$custom-light: #735b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#351c73",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 257.241,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31996,
    "c": 0.13908,
    "h": 289.2
  },
  "luminance": 0.02825
}

Semantic roles & 50–950 ramp

primary
#351C73
secondary
#8BA743
accent
#E444B6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351C73

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

Preview Lab → · Contrast checker → · Palette generator →

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