#351354#351354

#351354 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.112 H 303.8°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#351354
RGBrgb(53, 19, 84)
HSLhsl(271, 63%, 20%)
HSVhsv(271, 77%, 33%)
CMYKcmyk(36.9%, 77.4%, 0%, 67.1%)
CIE-LABlab(14.75, 30.59, -32.70)
CIE-LCHlch(14.75, 44.78, 313.09°)
OKLaboklab(27.87% 0.0622 -0.093)
OKLCHoklch(27.87% 0.112 303.8)
XYZxyz(3.3009, 1.8627, 8.5714)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351354 #325413
analogous
#151354 #351354 #541352
triadic
#351354 #543513 #135435
tetradic
#351354 #541513 #325413 #135254
square
#351354 #541513 #325413 #135254
split-complementary
#351354 #525413 #135415
monochromatic
#100619 #160822 #351354 #541E86 #742AB8

Accessibility & contrast

On white

15.30
#351354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#351354 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351354
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351354#FFFFFF#000000##FFFFFF
##3513541.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#002553
Tritanopia (blue-blind)
#2F2232
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #351354;
/* rgb */ color: rgb(53, 19, 84);
/* oklch */ color: oklch(27.9% 0.112 303.8);
Tailwind
colors: {
  custom: {
    50: '#705485',
    500: '#351354',
    950: '#000000',
  },
}
SCSS
$custom: #351354;
$custom-light: #705485;
$custom-dark: #000000;
JSON
{
  "hex": "#351354",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 271.385,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27868,
    "c": 0.11194,
    "h": 303.8
  },
  "luminance": 0.01863
}

Semantic roles & 50–950 ramp

primary
#351354
secondary
#5F8C36
accent
#E64290
background
#F6F4F8
surface
#ECE8EF
border
#C7C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351354

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

Preview Lab → · Contrast checker → · Palette generator →

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