#351F73#351F73

#351F73 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.4% C 0.135 H 288.5°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#351F73
RGBrgb(53, 31, 115)
HSLhsl(256, 58%, 29%)
HSVhsv(256, 73%, 45%)
CMYKcmyk(53.9%, 73%, 0%, 54.9%)
CIE-LABlab(19.94, 33.07, -44.71)
CIE-LCHlch(19.94, 55.62, 306.49°)
OKLaboklab(32.43% 0.0429 -0.1284)
OKLCHoklch(32.43% 0.135 288.5)
XYZxyz(5.0518, 2.9744, 16.5243)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351F73 #5D731F
analogous
#1F3373 #351F73 #5F1F73
triadic
#351F73 #73351F #1F7335
tetradic
#351F73 #731F33 #5D731F #1F735F
square
#351F73 #731F33 #5D731F #1F735F
split-complementary
#351F73 #735F1F #33731F
monochromatic
#0B0618 #1F1243 #351F73 #4B2CA3 #6541CC

Accessibility & contrast

On white

13.17
#351F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351F73
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351F73#FFFFFF#000000##FFFFFF
##351F731.0013.171.6013.17
#FFFFFF13.171.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003276
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#1E3546
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351f73;
/* rgb */ color: rgb(53, 31, 115);
/* oklch */ color: oklch(32.4% 0.135 288.5);
Tailwind
colors: {
  custom: {
    50: '#735d9c',
    500: '#351f73',
    950: '#000000',
  },
}
SCSS
$custom: #351f73;
$custom-light: #735d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#351f73",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 255.714,
    "s": 57.534,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32432,
    "c": 0.13538,
    "h": 288.5
  },
  "luminance": 0.02975
}

Semantic roles & 50–950 ramp

primary
#351F73
secondary
#8EA747
accent
#E147B9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351F73

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

Preview Lab → · Contrast checker → · Palette generator →

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