#351B58#351B58

#351B58 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.105 H 299.4°. Best body text is #FFFFFF at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#351B58
RGBrgb(53, 27, 88)
HSLhsl(266, 53%, 23%)
HSVhsv(266, 69%, 35%)
CMYKcmyk(39.8%, 69.3%, 0%, 65.5%)
CIE-LABlab(16.73, 27.19, -32.20)
CIE-LCHlch(16.73, 42.14, 310.17°)
OKLaboklab(29.39% 0.0517 -0.0916)
OKLCHoklch(29.39% 0.105 299.4)
XYZxyz(3.6211, 2.2453, 9.4732)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B58 #3E581B
analogous
#1B1F58 #351B58 #531B58
triadic
#351B58 #58351B #1B5835
tetradic
#351B58 #581B1F #3E581B #1B5853
square
#351B58 #581B1F #3E581B #1B5853
split-complementary
#351B58 #58531B #1F581B
monochromatic
#0E0717 #190D29 #351B58 #512987 #6D38B6

Accessibility & contrast

On white

14.49
#351B58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#351B58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B58
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B58#FFFFFF#000000##FFFFFF
##351B581.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#012957
Tritanopia (blue-blind)
#2D2936
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #351b58;
/* rgb */ color: rgb(53, 27, 88);
/* oklch */ color: oklch(29.4% 0.105 299.4);
Tailwind
colors: {
  custom: {
    50: '#705988',
    500: '#351b58',
    950: '#000000',
  },
}
SCSS
$custom: #351b58;
$custom-light: #705988;
$custom-dark: #000000;
JSON
{
  "hex": "#351b58",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 88
  },
  "hsl": {
    "h": 265.574,
    "s": 53.043,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29389,
    "c": 0.10522,
    "h": 299.4
  },
  "luminance": 0.02245
}

Semantic roles & 50–950 ramp

primary
#351B58
secondary
#6D8E41
accent
#DC4B9F
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351B58

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

Preview Lab → · Contrast checker → · Palette generator →

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