#351886#351886

#351886 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.166 H 285.1°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#351886
RGBrgb(53, 24, 134)
HSLhsl(256, 70%, 31%)
HSVhsv(256, 82%, 53%)
CMYKcmyk(60.4%, 82.1%, 0%, 47.5%)
CIE-LABlab(20.56, 42.56, -55.79)
CIE-LCHlch(20.56, 70.17, 307.34°)
OKLaboklab(33.45% 0.0433 -0.1607)
OKLCHoklch(33.45% 0.166 285.1)
XYZxyz(6.0966, 3.1310, 22.8327)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351886 #698618
analogous
#183286 #351886 #6C1886
triadic
#351886 #863518 #188635
tetradic
#351886 #861832 #698618 #18866C
square
#351886 #861832 #698618 #18866C
split-complementary
#351886 #866C18 #328618
monochromatic
#0C051E #200F52 #351886 #4A21BA #663CDC

Accessibility & contrast

On white

12.91
#351886 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#351886 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351886
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351886#FFFFFF#000000##FFFFFF
##3518861.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003489
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#05394F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #351886;
/* rgb */ color: rgb(53, 24, 134);
/* oklch */ color: oklch(33.4% 0.166 285.1);
Tailwind
colors: {
  custom: {
    50: '#775aaa',
    500: '#351886',
    950: '#000000',
  },
}
SCSS
$custom: #351886;
$custom-light: #775aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#351886",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 255.818,
    "s": 69.62,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33448,
    "c": 0.16648,
    "h": 285.1
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#351886
secondary
#9ABA40
accent
#EC3BBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351886

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

Preview Lab → · Contrast checker → · Palette generator →

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