#351E7E#351E7E

#351E7E is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.151 H 285.9°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#351E7E
RGBrgb(53, 30, 126)
HSLhsl(254, 62%, 31%)
HSVhsv(254, 76%, 49%)
CMYKcmyk(57.9%, 76.2%, 0%, 50.6%)
CIE-LABlab(20.80, 37.08, -50.34)
CIE-LCHlch(20.80, 62.53, 306.37°)
OKLaboklab(33.36% 0.0413 -0.1449)
OKLCHoklch(33.36% 0.151 285.9)
XYZxyz(5.6972, 3.1915, 20.0504)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E7E #677E1E
analogous
#1E377E #351E7E #651E7E
triadic
#351E7E #7E351E #1E7E35
tetradic
#351E7E #7E1E37 #677E1E #1E7E65
square
#351E7E #7E1E37 #677E1E #1E7E65
split-complementary
#351E7E #7E651E #377E1E
monochromatic
#0B061B #20124D #351E7E #4A2AAF #6644D2

Accessibility & contrast

On white

12.82
#351E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#351E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E7E
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E7E#FFFFFF#000000##FFFFFF
##351E7E1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003581
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#13384C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #351e7e;
/* rgb */ color: rgb(53, 30, 126);
/* oklch */ color: oklch(33.4% 0.151 285.9);
Tailwind
colors: {
  custom: {
    50: '#755ca4',
    500: '#351e7e',
    950: '#000000',
  },
}
SCSS
$custom: #351e7e;
$custom-light: #755ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#351e7e",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 254.375,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33361,
    "c": 0.15068,
    "h": 285.9
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#351E7E
secondary
#98B147
accent
#E543BE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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