#351E76#351E76

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

Color values

HEX#351E76
RGBrgb(53, 30, 118)
HSLhsl(256, 59%, 29%)
HSVhsv(256, 75%, 46%)
CMYKcmyk(55.1%, 74.6%, 0%, 53.7%)
CIE-LABlab(20.02, 34.59, -46.52)
CIE-LCHlch(20.02, 57.97, 306.63°)
OKLaboklab(32.57% 0.0432 -0.1337)
OKLCHoklch(32.57% 0.141 287.9)
XYZxyz(5.2015, 2.9932, 17.4397)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E76 #5F761E
analogous
#1E3376 #351E76 #611E76
triadic
#351E76 #76351E #1E7635
tetradic
#351E76 #761E33 #5F761E #1E7661
square
#351E76 #761E33 #5F761E #1E7661
split-complementary
#351E76 #76611E #33761E
monochromatic
#0B0618 #1F1245 #351E76 #4B2AA7 #6540CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##351E76#FFFFFF#000000##FFFFFF
##351E761.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)
#003279
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#1C3548
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351e76;
/* rgb */ color: rgb(53, 30, 118);
/* oklch */ color: oklch(32.6% 0.141 287.9);
Tailwind
colors: {
  custom: {
    50: '#745c9e',
    500: '#351e76',
    950: '#000000',
  },
}
SCSS
$custom: #351e76;
$custom-light: #745c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#351e76",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 255.682,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32572,
    "c": 0.1405,
    "h": 287.9
  },
  "luminance": 0.02993
}

Semantic roles & 50–950 ramp

primary
#351E76
secondary
#90AA46
accent
#E345B9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351E76

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

Preview Lab → · Contrast checker → · Palette generator →

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