#351C5E#351C5E

#351C5E is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.1% C 0.112 H 296.5°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#351C5E
RGBrgb(53, 28, 94)
HSLhsl(263, 54%, 24%)
HSVhsv(263, 70%, 37%)
CMYKcmyk(43.6%, 70.2%, 0%, 63.1%)
CIE-LABlab(17.44, 28.37, -35.05)
CIE-LCHlch(17.44, 45.09, 308.99°)
OKLaboklab(30.06% 0.0498 -0.1)
OKLCHoklch(30.06% 0.112 296.5)
XYZxyz(3.9033, 2.3955, 10.8442)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C5E #455E1C
analogous
#1C245E #351C5E #561C5E
triadic
#351C5E #5E351C #1C5E35
tetradic
#351C5E #5E1C24 #455E1C #1C5E56
square
#351C5E #5E1C24 #455E1C #1C5E56
split-complementary
#351C5E #5E561C #245E1C
monochromatic
#0D0718 #1A0E2F #351C5E #502A8D #6A38BC

Accessibility & contrast

On white

14.20
#351C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351C5E
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C5E#FFFFFF#000000##FFFFFF
##351C5E1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#002A5D
Tritanopia (blue-blind)
#2B2B3A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351c5e;
/* rgb */ color: rgb(53, 28, 94);
/* oklch */ color: oklch(30.1% 0.112 296.5);
Tailwind
colors: {
  custom: {
    50: '#705a8c',
    500: '#351c5e',
    950: '#000000',
  },
}
SCSS
$custom: #351c5e;
$custom-light: #705a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#351c5e",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 94
  },
  "hsl": {
    "h": 262.727,
    "s": 54.098,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3006,
    "c": 0.11171,
    "h": 296.5
  },
  "luminance": 0.02396
}

Semantic roles & 50–950 ramp

primary
#351C5E
secondary
#759342
accent
#DD4AA6
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #351C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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