#351E75#351E75

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

Color values

HEX#351E75
RGBrgb(53, 30, 117)
HSLhsl(256, 59%, 29%)
HSVhsv(256, 74%, 46%)
CMYKcmyk(54.7%, 74.4%, 0%, 54.1%)
CIE-LABlab(19.92, 34.28, -46.03)
CIE-LCHlch(19.92, 57.39, 306.67°)
OKLaboklab(32.48% 0.0434 -0.1323)
OKLCHoklch(32.48% 0.139 288.2)
XYZxyz(5.1424, 2.9695, 17.1284)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E75 #5E751E
analogous
#1E3375 #351E75 #611E75
triadic
#351E75 #75351E #1E7535
tetradic
#351E75 #751E33 #5E751E #1E7561
square
#351E75 #751E33 #5E751E #1E7561
split-complementary
#351E75 #75611E #33751E
monochromatic
#0B0618 #1F1244 #351E75 #4B2AA6 #6540CE

Accessibility & contrast

On white

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

On black

1.59
#351E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##351E75#FFFFFF#000000##FFFFFF
##351E751.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003278
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#1C3547
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351e75;
/* rgb */ color: rgb(53, 30, 117);
/* oklch */ color: oklch(32.5% 0.139 288.2);
Tailwind
colors: {
  custom: {
    50: '#745c9e',
    500: '#351e75',
    950: '#000000',
  },
}
SCSS
$custom: #351e75;
$custom-light: #745c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#351e75",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 117
  },
  "hsl": {
    "h": 255.862,
    "s": 59.184,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32475,
    "c": 0.13921,
    "h": 288.2
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#351E75
secondary
#8FA946
accent
#E245B9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351E75

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

Preview Lab → · Contrast checker → · Palette generator →

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