#351E6E#351E6E

#351E6E is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.130 H 290.2°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#351E6E
RGBrgb(53, 30, 110)
HSLhsl(257, 57%, 27%)
HSVhsv(257, 73%, 43%)
CMYKcmyk(51.8%, 72.7%, 0%, 56.9%)
CIE-LABlab(19.27, 32.09, -42.58)
CIE-LCHlch(19.27, 53.32, 307.01°)
OKLaboklab(31.81% 0.0449 -0.1221)
OKLCHoklch(31.81% 0.13 290.2)
XYZxyz(4.7461, 2.8110, 15.0413)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E6E #576E1E
analogous
#1E2F6E #351E6E #5D1E6E
triadic
#351E6E #6E351E #1E6E35
tetradic
#351E6E #6E1E2F #576E1E #1E6E5D
square
#351E6E #6E1E2F #576E1E #1E6E5D
split-complementary
#351E6E #6E5D1E #2F6E1E
monochromatic
#0C0718 #1E113E #351E6E #4C2B9E #653CCA

Accessibility & contrast

On white

13.44
#351E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#351E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E6E
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E6E#FFFFFF#000000##FFFFFF
##351E6E1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003070
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#223243
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351e6e;
/* rgb */ color: rgb(53, 30, 110);
/* oklch */ color: oklch(31.8% 0.130 290.2);
Tailwind
colors: {
  custom: {
    50: '#725c98',
    500: '#351e6e',
    950: '#000000',
  },
}
SCSS
$custom: #351e6e;
$custom-light: #725c98;
$custom-dark: #000000;
JSON
{
  "hex": "#351e6e",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 110
  },
  "hsl": {
    "h": 257.25,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31811,
    "c": 0.13012,
    "h": 290.2
  },
  "luminance": 0.02811
}

Semantic roles & 50–950 ramp

primary
#351E6E
secondary
#88A246
accent
#E047B4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #351E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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