#351456#351456

#351456 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.2% C 0.113 H 302.5°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#351456
RGBrgb(53, 20, 86)
HSLhsl(270, 62%, 21%)
HSVhsv(270, 77%, 34%)
CMYKcmyk(38.4%, 76.7%, 0%, 66.3%)
CIE-LABlab(15.11, 30.61, -33.47)
CIE-LCHlch(15.11, 45.36, 312.45°)
OKLaboklab(28.18% 0.0607 -0.0953)
OKLCHoklch(28.18% 0.113 302.5)
XYZxyz(3.3977, 1.9291, 8.9956)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351456 #355614
analogous
#141456 #351456 #561456
triadic
#351456 #563514 #145635
tetradic
#351456 #561414 #355614 #145656
square
#351456 #561414 #355614 #145656
split-complementary
#351456 #565614 #145614
monochromatic
#0F0619 #160824 #351456 #542088 #722BB9

Accessibility & contrast

On white

15.15
#351456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351456
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351456#FFFFFF#000000##FFFFFF
##3514561.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#2E2433
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #351456;
/* rgb */ color: rgb(53, 20, 86);
/* oklch */ color: oklch(28.2% 0.113 302.5);
Tailwind
colors: {
  custom: {
    50: '#705586',
    500: '#351456',
    950: '#000000',
  },
}
SCSS
$custom: #351456;
$custom-light: #705586;
$custom-dark: #000000;
JSON
{
  "hex": "#351456",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 86
  },
  "hsl": {
    "h": 270,
    "s": 62.264,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28179,
    "c": 0.11299,
    "h": 302.5
  },
  "luminance": 0.01929
}

Semantic roles & 50–950 ramp

primary
#351456
secondary
#638E38
accent
#E54294
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351456

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

Preview Lab → · Contrast checker → · Palette generator →

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