#351C5D#351C5D

#351C5D is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.0% C 0.110 H 296.9°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#351C5D
RGBrgb(53, 28, 93)
HSLhsl(263, 54%, 24%)
HSVhsv(263, 70%, 36%)
CMYKcmyk(43%, 69.9%, 0%, 63.5%)
CIE-LABlab(17.36, 28.07, -34.52)
CIE-LCHlch(17.36, 44.49, 309.11°)
OKLaboklab(29.97% 0.0499 -0.0984)
OKLCHoklch(29.97% 0.11 296.9)
XYZxyz(3.8587, 2.3776, 10.6094)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C5D #445D1C
analogous
#1C235D #351C5D #551C5D
triadic
#351C5D #5D351C #1C5D35
tetradic
#351C5D #5D1C23 #445D1C #1C5D55
square
#351C5D #5D1C23 #445D1C #1C5D55
split-complementary
#351C5D #5D551C #235D1C
monochromatic
#0D0718 #1A0E2E #351C5D #502A8C #6B38BB

Accessibility & contrast

On white

14.23
#351C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#351C5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C5D
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C5D#FFFFFF#000000##FFFFFF
##351C5D1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5F
Deuteranopia (green-blind)
#002A5C
Tritanopia (blue-blind)
#2B2B39
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351c5d;
/* rgb */ color: rgb(53, 28, 93);
/* oklch */ color: oklch(30.0% 0.110 296.9);
Tailwind
colors: {
  custom: {
    50: '#705a8b',
    500: '#351c5d',
    950: '#000000',
  },
}
SCSS
$custom: #351c5d;
$custom-light: #705a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#351c5d",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 93
  },
  "hsl": {
    "h": 263.077,
    "s": 53.719,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29974,
    "c": 0.11037,
    "h": 296.9
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#351C5D
secondary
#749242
accent
#DD4BA5
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #351C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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