#351C74#351C74

#351C74 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.140 H 288.9°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#351C74
RGBrgb(53, 28, 116)
HSLhsl(257, 61%, 28%)
HSVhsv(257, 76%, 45%)
CMYKcmyk(54.3%, 75.9%, 0%, 54.5%)
CIE-LABlab(19.43, 35.09, -46.20)
CIE-LCHlch(19.43, 58.02, 307.22°)
OKLaboklab(32.09% 0.0455 -0.1327)
OKLCHoklch(32.09% 0.14 288.9)
XYZxyz(5.0349, 2.8481, 16.8041)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C74 #5B741C
analogous
#1C2F74 #351C74 #611C74
triadic
#351C74 #74351C #1C7435
tetradic
#351C74 #741C2F #5B741C #1C7461
square
#351C74 #741C2F #5B741C #1C7461
split-complementary
#351C74 #74611C #2F741C
monochromatic
#0B0619 #1E1043 #351C74 #4C28A5 #653BD0

Accessibility & contrast

On white

13.38
#351C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351C74
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C74#FFFFFF#000000##FFFFFF
##351C741.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#1D3446
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351c74;
/* rgb */ color: rgb(53, 28, 116);
/* oklch */ color: oklch(32.1% 0.140 288.9);
Tailwind
colors: {
  custom: {
    50: '#745b9d',
    500: '#351c74',
    950: '#000000',
  },
}
SCSS
$custom: #351c74;
$custom-light: #745b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#351c74",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 257.045,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32094,
    "c": 0.14034,
    "h": 288.9
  },
  "luminance": 0.02848
}

Semantic roles & 50–950 ramp

primary
#351C74
secondary
#8CA843
accent
#E444B7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351C74

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

Preview Lab → · Contrast checker → · Palette generator →

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