#351056#351056

#351056 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.118 H 303.4°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#351056
RGBrgb(53, 16, 86)
HSLhsl(272, 69%, 20%)
HSVhsv(272, 81%, 34%)
CMYKcmyk(38.4%, 81.4%, 0%, 66.3%)
CIE-LABlab(14.40, 32.63, -34.63)
CIE-LCHlch(14.40, 47.58, 313.30°)
OKLaboklab(27.67% 0.0651 -0.0987)
OKLCHoklch(27.67% 0.118 303.4)
XYZxyz(3.3328, 1.7994, 8.9740)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351056 #315610
analogous
#121056 #351056 #561054
triadic
#351056 #563510 #105635
tetradic
#351056 #561210 #315610 #105456
square
#351056 #561210 #315610 #105456
split-complementary
#351056 #545610 #105612
monochromatic
#10051A #150622 #351056 #551A8A #7523BD

Accessibility & contrast

On white

15.44
#351056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#351056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351056
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351056#FFFFFF#000000##FFFFFF
##3510561.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002455
Tritanopia (blue-blind)
#2E2232
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #351056;
/* rgb */ color: rgb(53, 16, 86);
/* oklch */ color: oklch(27.7% 0.118 303.4);
Tailwind
colors: {
  custom: {
    50: '#705386',
    500: '#351056',
    950: '#000000',
  },
}
SCSS
$custom: #351056;
$custom-light: #705386;
$custom-dark: #000000;
JSON
{
  "hex": "#351056",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 271.714,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.27674,
    "c": 0.11821,
    "h": 303.4
  },
  "luminance": 0.01799
}

Semantic roles & 50–950 ramp

primary
#351056
secondary
#5E8F32
accent
#EB3C8F
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #351056

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

Preview Lab → · Contrast checker → · Palette generator →

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