#351559#351559

#351559 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.115 H 300.7°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#351559
RGBrgb(53, 21, 89)
HSLhsl(268, 62%, 22%)
HSVhsv(268, 76%, 35%)
CMYKcmyk(40.4%, 76.4%, 0%, 65.1%)
CIE-LABlab(15.56, 30.92, -34.76)
CIE-LCHlch(15.56, 46.52, 311.65°)
OKLaboklab(28.58% 0.0589 -0.0991)
OKLCHoklch(28.58% 0.115 300.7)
XYZxyz(3.5391, 2.0145, 9.6516)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351559 #395915
analogous
#151759 #351559 #571559
triadic
#351559 #593515 #155935
tetradic
#351559 #591517 #395915 #155957
square
#351559 #591517 #395915 #155957
split-complementary
#351559 #595715 #175915
monochromatic
#0F0619 #180927 #351559 #52218B #702CBC

Accessibility & contrast

On white

14.97
#351559 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#351559 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351559
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351559#FFFFFF#000000##FFFFFF
##3515591.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002658
Tritanopia (blue-blind)
#2D2535
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #351559;
/* rgb */ color: rgb(53, 21, 89);
/* oklch */ color: oklch(28.6% 0.115 300.7);
Tailwind
colors: {
  custom: {
    50: '#705588',
    500: '#351559',
    950: '#000000',
  },
}
SCSS
$custom: #351559;
$custom-light: #705588;
$custom-dark: #000000;
JSON
{
  "hex": "#351559",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 89
  },
  "hsl": {
    "h": 268.235,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28583,
    "c": 0.11531,
    "h": 300.7
  },
  "luminance": 0.02014
}

Semantic roles & 50–950 ramp

primary
#351559
secondary
#679139
accent
#E54399
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351559

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

Preview Lab → · Contrast checker → · Palette generator →

#351559 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva