#351B5E#351B5E

#351B5E is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.9% C 0.113 H 296.8°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#351B5E
RGBrgb(53, 27, 94)
HSLhsl(263, 55%, 24%)
HSVhsv(263, 71%, 37%)
CMYKcmyk(43.6%, 71.3%, 0%, 63.1%)
CIE-LABlab(17.22, 28.97, -35.41)
CIE-LCHlch(17.22, 45.75, 309.29°)
OKLaboklab(29.9% 0.051 -0.101)
OKLCHoklch(29.9% 0.113 296.8)
XYZxyz(3.8800, 2.3488, 10.8365)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B5E #445E1B
analogous
#1B225E #351B5E #561B5E
triadic
#351B5E #5E351B #1B5E35
tetradic
#351B5E #5E1B22 #445E1B #1B5E56
square
#351B5E #5E1B22 #445E1B #1B5E56
split-complementary
#351B5E #5E561B #225E1B
monochromatic
#0D0718 #1A0D2E #351B5E #50298E #6B36BD

Accessibility & contrast

On white

14.29
#351B5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#351B5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B5E
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B5E#FFFFFF#000000##FFFFFF
##351B5E1.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B60
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#2B2B3A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #351b5e;
/* rgb */ color: rgb(53, 27, 94);
/* oklch */ color: oklch(29.9% 0.113 296.8);
Tailwind
colors: {
  custom: {
    50: '#70598c',
    500: '#351b5e',
    950: '#000000',
  },
}
SCSS
$custom: #351b5e;
$custom-light: #70598c;
$custom-dark: #000000;
JSON
{
  "hex": "#351b5e",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 94
  },
  "hsl": {
    "h": 263.284,
    "s": 55.372,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29903,
    "c": 0.11319,
    "h": 296.8
  },
  "luminance": 0.02349
}

Semantic roles & 50–950 ramp

primary
#351B5E
secondary
#749441
accent
#DF49A5
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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