#351A5F#351A5F

#351A5F is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.8% C 0.116 H 296.7°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#351A5F
RGBrgb(53, 26, 95)
HSLhsl(263, 57%, 24%)
HSVhsv(263, 73%, 37%)
CMYKcmyk(44.2%, 72.6%, 0%, 62.7%)
CIE-LABlab(17.09, 29.85, -36.28)
CIE-LCHlch(17.09, 46.98, 309.45°)
OKLaboklab(29.84% 0.052 -0.1036)
OKLCHoklch(29.84% 0.116 296.7)
XYZxyz(3.9026, 2.3218, 11.0668)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A5F #445F1A
analogous
#1A215F #351A5F #571A5F
triadic
#351A5F #5F351A #1A5F35
tetradic
#351A5F #5F1A21 #445F1A #1A5F57
square
#351A5F #5F1A21 #445F1A #1A5F57
split-complementary
#351A5F #5F571A #215F1A
monochromatic
#0D0718 #1A0D2F #351A5F #50278F #6B34BF

Accessibility & contrast

On white

14.34
#351A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#351A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A5F
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A5F#FFFFFF#000000##FFFFFF
##351A5F1.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#2A2B3A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #351a5f;
/* rgb */ color: rgb(53, 26, 95);
/* oklch */ color: oklch(29.8% 0.116 296.7);
Tailwind
colors: {
  custom: {
    50: '#71598d',
    500: '#351a5f',
    950: '#000000',
  },
}
SCSS
$custom: #351a5f;
$custom-light: #71598d;
$custom-dark: #000000;
JSON
{
  "hex": "#351a5f",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 263.478,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29838,
    "c": 0.11594,
    "h": 296.7
  },
  "luminance": 0.02322
}

Semantic roles & 50–950 ramp

primary
#351A5F
secondary
#749540
accent
#E048A5
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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