#351F70#351F70

#351F70 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.1% C 0.131 H 289.3°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#351F70
RGBrgb(53, 31, 112)
HSLhsl(256, 57%, 28%)
HSVhsv(256, 72%, 44%)
CMYKcmyk(52.7%, 72.3%, 0%, 56.1%)
CIE-LABlab(19.67, 32.13, -43.23)
CIE-LCHlch(19.67, 53.86, 306.62°)
OKLaboklab(32.15% 0.0435 -0.124)
OKLCHoklch(32.15% 0.131 289.3)
XYZxyz(4.8820, 2.9065, 15.6299)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351F70 #5A701F
analogous
#1F3270 #351F70 #5D1F70
triadic
#351F70 #70351F #1F7035
tetradic
#351F70 #701F32 #5A701F #1F705D
square
#351F70 #701F32 #5A701F #1F705D
split-complementary
#351F70 #705D1F #32701F
monochromatic
#0B0718 #1E1240 #351F70 #4C2CA0 #653FCA

Accessibility & contrast

On white

13.28
#351F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#351F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351F70
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351F70#FFFFFF#000000##FFFFFF
##351F701.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#203445
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351f70;
/* rgb */ color: rgb(53, 31, 112);
/* oklch */ color: oklch(32.1% 0.131 289.3);
Tailwind
colors: {
  custom: {
    50: '#735c9a',
    500: '#351f70',
    950: '#000000',
  },
}
SCSS
$custom: #351f70;
$custom-light: #735c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#351f70",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 256.296,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32149,
    "c": 0.13144,
    "h": 289.3
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#351F70
secondary
#8BA447
accent
#E048B7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #351F70

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

Preview Lab → · Contrast checker → · Palette generator →

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