#351C5F#351C5F

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

Color values

HEX#351C5F
RGBrgb(53, 28, 95)
HSLhsl(262, 54%, 24%)
HSVhsv(262, 71%, 37%)
CMYKcmyk(44.2%, 70.5%, 0%, 62.7%)
CIE-LABlab(17.52, 28.67, -35.58)
CIE-LCHlch(17.52, 45.70, 308.86°)
OKLaboklab(30.15% 0.0496 -0.1016)
OKLCHoklch(30.15% 0.113 296)
XYZxyz(3.9485, 2.4135, 11.0821)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C5F #465F1C
analogous
#1C255F #351C5F #571C5F
triadic
#351C5F #5F351C #1C5F35
tetradic
#351C5F #5F1C25 #465F1C #1C5F57
square
#351C5F #5F1C25 #465F1C #1C5F57
split-complementary
#351C5F #5F571C #255F1C
monochromatic
#0D0718 #1B0E30 #351C5F #4F2A8E #6A38BE

Accessibility & contrast

On white

14.16
#351C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351C5F
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C5F#FFFFFF#000000##FFFFFF
##351C5F1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B61
Deuteranopia (green-blind)
#002A5E
Tritanopia (blue-blind)
#2A2C3A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351c5f;
/* rgb */ color: rgb(53, 28, 95);
/* oklch */ color: oklch(30.1% 0.113 296.0);
Tailwind
colors: {
  custom: {
    50: '#705a8d',
    500: '#351c5f',
    950: '#000000',
  },
}
SCSS
$custom: #351c5f;
$custom-light: #705a8d;
$custom-dark: #000000;
JSON
{
  "hex": "#351c5f",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 95
  },
  "hsl": {
    "h": 262.388,
    "s": 54.472,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30147,
    "c": 0.11304,
    "h": 296
  },
  "luminance": 0.02414
}

Semantic roles & 50–950 ramp

primary
#351C5F
secondary
#769442
accent
#DE4AA7
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #351C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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