#351654#351654

#351654 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.108 H 303.0°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#351654
RGBrgb(53, 22, 84)
HSLhsl(270, 58%, 21%)
HSVhsv(270, 74%, 33%)
CMYKcmyk(36.9%, 73.8%, 0%, 67.1%)
CIE-LABlab(15.33, 28.96, -31.75)
CIE-LCHlch(15.33, 42.98, 312.37°)
OKLaboklab(28.29% 0.0586 -0.0903)
OKLCHoklch(28.29% 0.108 303)
XYZxyz(3.3550, 1.9708, 8.5894)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351654 #355416
analogous
#161654 #351654 #541654
triadic
#351654 #543516 #165435
tetradic
#351654 #541616 #355416 #165454
square
#351654 #541616 #355416 #165454
split-complementary
#351654 #545416 #165416
monochromatic
#0F0618 #160924 #351654 #542384 #722FB5

Accessibility & contrast

On white

15.06
#351654 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351654
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351654#FFFFFF#000000##FFFFFF
##3516541.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351654;
/* rgb */ color: rgb(53, 22, 84);
/* oklch */ color: oklch(28.3% 0.108 303.0);
Tailwind
colors: {
  custom: {
    50: '#6f5685',
    500: '#351654',
    950: '#000000',
  },
}
SCSS
$custom: #351654;
$custom-light: #6f5685;
$custom-dark: #000000;
JSON
{
  "hex": "#351654",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 84
  },
  "hsl": {
    "h": 270,
    "s": 58.491,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28285,
    "c": 0.10764,
    "h": 303
  },
  "luminance": 0.01971
}

Semantic roles & 50–950 ramp

primary
#351654
secondary
#638B3A
accent
#E24694
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351654

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

Preview Lab → · Contrast checker → · Palette generator →

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