#351B5C#351B5C

#351B5C is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.7% C 0.111 H 297.6°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#351B5C
RGBrgb(53, 27, 92)
HSLhsl(264, 55%, 23%)
HSVhsv(264, 71%, 36%)
CMYKcmyk(42.4%, 70.7%, 0%, 63.9%)
CIE-LABlab(17.05, 28.37, -34.35)
CIE-LCHlch(17.05, 44.55, 309.56°)
OKLaboklab(29.73% 0.0513 -0.0979)
OKLCHoklch(29.73% 0.111 297.6)
XYZxyz(3.7914, 2.3134, 10.3699)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B5C #425C1B
analogous
#1B215C #351B5C #551B5C
triadic
#351B5C #5C351B #1B5C35
tetradic
#351B5C #5C1B21 #425C1B #1B5C55
square
#351B5C #5C1B21 #425C1B #1B5C55
split-complementary
#351B5C #5C551B #215C1B
monochromatic
#0E0718 #1A0D2D #351B5C #50298B #6C37BB

Accessibility & contrast

On white

14.36
#351B5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351B5C
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B5C#FFFFFF#000000##FFFFFF
##351B5C1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5E
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#2C2A39
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #351b5c;
/* rgb */ color: rgb(53, 27, 92);
/* oklch */ color: oklch(29.7% 0.111 297.6);
Tailwind
colors: {
  custom: {
    50: '#70598b',
    500: '#351b5c',
    950: '#000000',
  },
}
SCSS
$custom: #351b5c;
$custom-light: #70598b;
$custom-dark: #000000;
JSON
{
  "hex": "#351b5c",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 92
  },
  "hsl": {
    "h": 264,
    "s": 54.622,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29729,
    "c": 0.11054,
    "h": 297.6
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#351B5C
secondary
#719241
accent
#DE4AA3
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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