#351356#351356

#351356 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.114 H 302.7°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#351356
RGBrgb(53, 19, 86)
HSLhsl(270, 64%, 21%)
HSVhsv(270, 78%, 34%)
CMYKcmyk(38.4%, 77.9%, 0%, 66.3%)
CIE-LABlab(14.92, 31.14, -33.77)
CIE-LCHlch(14.92, 45.94, 312.68°)
OKLaboklab(28.05% 0.0618 -0.0962)
OKLCHoklch(28.05% 0.114 302.7)
XYZxyz(3.3804, 1.8945, 8.9899)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351356 #345613
analogous
#131356 #351356 #561355
triadic
#351356 #563513 #135635
tetradic
#351356 #561313 #345613 #135556
square
#351356 #561313 #345613 #135556
split-complementary
#351356 #555613 #135613
monochromatic
#0F0619 #160824 #351356 #541E88 #7329BA

Accessibility & contrast

On white

15.23
#351356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#351356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351356
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351356#FFFFFF#000000##FFFFFF
##3513561.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351356;
/* rgb */ color: rgb(53, 19, 86);
/* oklch */ color: oklch(28.0% 0.114 302.7);
Tailwind
colors: {
  custom: {
    50: '#705486',
    500: '#351356',
    950: '#000000',
  },
}
SCSS
$custom: #351356;
$custom-light: #705486;
$custom-dark: #000000;
JSON
{
  "hex": "#351356",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 86
  },
  "hsl": {
    "h": 270.448,
    "s": 63.81,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28046,
    "c": 0.11435,
    "h": 302.7
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#351356
secondary
#628E36
accent
#E74193
background
#F7F5F8
surface
#EDE8EF
border
#C8C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351356

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

Preview Lab → · Contrast checker → · Palette generator →

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