#351E79#351E79

#351E79 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.144 H 287.1°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#351E79
RGBrgb(53, 30, 121)
HSLhsl(255, 60%, 30%)
HSVhsv(255, 75%, 47%)
CMYKcmyk(56.2%, 75.2%, 0%, 52.5%)
CIE-LABlab(20.30, 35.52, -47.97)
CIE-LCHlch(20.30, 59.69, 306.52°)
OKLaboklab(32.87% 0.0425 -0.1379)
OKLCHoklch(32.87% 0.144 287.1)
XYZxyz(5.3826, 3.0656, 18.3936)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E79 #62791E
analogous
#1E3479 #351E79 #631E79
triadic
#351E79 #79351E #1E7935
tetradic
#351E79 #791E34 #62791E #1E7963
square
#351E79 #791E34 #62791E #1E7963
split-complementary
#351E79 #79631E #34791E
monochromatic
#0B0619 #201248 #351E79 #4A2AAA #6541D0

Accessibility & contrast

On white

13.02
#351E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#351E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E79
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E79#FFFFFF#000000##FFFFFF
##351E791.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#193649
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351e79;
/* rgb */ color: rgb(53, 30, 121);
/* oklch */ color: oklch(32.9% 0.144 287.1);
Tailwind
colors: {
  custom: {
    50: '#745ca1',
    500: '#351e79',
    950: '#000000',
  },
}
SCSS
$custom: #351e79;
$custom-light: #745ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#351e79",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 121
  },
  "hsl": {
    "h": 255.165,
    "s": 60.265,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32865,
    "c": 0.14434,
    "h": 287.1
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#351E79
secondary
#93AD46
accent
#E344BB
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351E79

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

Preview Lab → · Contrast checker → · Palette generator →

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