#351856#351856

#351856 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.107 H 301.4°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#351856
RGBrgb(53, 24, 86)
HSLhsl(268, 56%, 22%)
HSVhsv(268, 72%, 34%)
CMYKcmyk(38.4%, 72.1%, 0%, 66.3%)
CIE-LABlab(15.91, 28.38, -32.17)
CIE-LCHlch(15.91, 42.90, 311.42°)
OKLaboklab(28.75% 0.0558 -0.0915)
OKLCHoklch(28.75% 0.107 301.4)
XYZxyz(3.4741, 2.0820, 9.0211)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351856 #395618
analogous
#181A56 #351856 #541856
triadic
#351856 #563518 #185635
tetradic
#351856 #56181A #395618 #185654
square
#351856 #56181A #395618 #185654
split-complementary
#351856 #565418 #1A5618
monochromatic
#0F0718 #180B26 #351856 #522586 #7033B6

Accessibility & contrast

On white

14.83
#351856 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#351856 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351856
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351856#FFFFFF#000000##FFFFFF
##3518561.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002758
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#2E2634
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #351856;
/* rgb */ color: rgb(53, 24, 86);
/* oklch */ color: oklch(28.8% 0.107 301.4);
Tailwind
colors: {
  custom: {
    50: '#705786',
    500: '#351856',
    950: '#000000',
  },
}
SCSS
$custom: #351856;
$custom-light: #705786;
$custom-dark: #000000;
JSON
{
  "hex": "#351856",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 86
  },
  "hsl": {
    "h": 268.065,
    "s": 56.364,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28752,
    "c": 0.10719,
    "h": 301.4
  },
  "luminance": 0.02082
}

Semantic roles & 50–950 ramp

primary
#351856
secondary
#678D3D
accent
#E04899
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351856

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

Preview Lab → · Contrast checker → · Palette generator →

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