#351B60#351B60

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

Color values

HEX#351B60
RGBrgb(53, 27, 96)
HSLhsl(263, 56%, 24%)
HSVhsv(263, 72%, 38%)
CMYKcmyk(44.8%, 71.9%, 0%, 62.4%)
CIE-LABlab(17.39, 29.57, -36.46)
CIE-LCHlch(17.39, 46.94, 309.04°)
OKLaboklab(30.08% 0.0507 -0.1041)
OKLCHoklch(30.08% 0.116 296)
XYZxyz(3.9709, 2.3852, 11.3152)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B60 #46601B
analogous
#1B2360 #351B60 #581B60
triadic
#351B60 #60351B #1B6035
tetradic
#351B60 #601B23 #46601B #1B6058
square
#351B60 #601B23 #46601B #1B6058
split-complementary
#351B60 #60581B #23601B
monochromatic
#0D0718 #1B0E30 #351B60 #4F2890 #6A36C0

Accessibility & contrast

On white

14.22
#351B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351B60
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B60#FFFFFF#000000##FFFFFF
##351B601.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#2A2C3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351b60;
/* rgb */ color: rgb(53, 27, 96);
/* oklch */ color: oklch(30.1% 0.116 296.0);
Tailwind
colors: {
  custom: {
    50: '#71598e',
    500: '#351b60',
    950: '#000000',
  },
}
SCSS
$custom: #351b60;
$custom-light: #71598e;
$custom-dark: #000000;
JSON
{
  "hex": "#351b60",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 96
  },
  "hsl": {
    "h": 262.609,
    "s": 56.098,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30079,
    "c": 0.11582,
    "h": 296
  },
  "luminance": 0.02385
}

Semantic roles & 50–950 ramp

primary
#351B60
secondary
#769641
accent
#DF48A6
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #351B60

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

Preview Lab → · Contrast checker → · Palette generator →

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