#351554#351554

#351554 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.109 H 303.3°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#351554
RGBrgb(53, 21, 84)
HSLhsl(270, 60%, 21%)
HSVhsv(270, 75%, 33%)
CMYKcmyk(36.9%, 75%, 0%, 67.1%)
CIE-LABlab(15.13, 29.51, -32.08)
CIE-LCHlch(15.13, 43.59, 312.62°)
OKLaboklab(28.14% 0.0599 -0.0912)
OKLCHoklch(28.14% 0.109 303.3)
XYZxyz(3.3362, 1.9333, 8.5832)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351554 #345415
analogous
#151554 #351554 #541553
triadic
#351554 #543515 #155435
tetradic
#351554 #541515 #345415 #155354
square
#351554 #541515 #345415 #155354
split-complementary
#351554 #535415 #155415
monochromatic
#0F0618 #160923 #351554 #542185 #732DB6

Accessibility & contrast

On white

15.14
#351554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#351554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351554
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351554#FFFFFF#000000##FFFFFF
##3515541.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002556
Deuteranopia (green-blind)
#002653
Tritanopia (blue-blind)
#2F2432
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #351554;
/* rgb */ color: rgb(53, 21, 84);
/* oklch */ color: oklch(28.1% 0.109 303.3);
Tailwind
colors: {
  custom: {
    50: '#705585',
    500: '#351554',
    950: '#000000',
  },
}
SCSS
$custom: #351554;
$custom-light: #705585;
$custom-dark: #000000;
JSON
{
  "hex": "#351554",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 84
  },
  "hsl": {
    "h": 270.476,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28142,
    "c": 0.10911,
    "h": 303.3
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#351554
secondary
#628C39
accent
#E34593
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351554

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

Preview Lab → · Contrast checker → · Palette generator →

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