#351885#351885

#351885 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.165 H 285.3°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#351885
RGBrgb(53, 24, 133)
HSLhsl(256, 69%, 31%)
HSVhsv(256, 82%, 52%)
CMYKcmyk(60.2%, 82%, 0%, 47.8%)
CIE-LABlab(20.45, 42.26, -55.33)
CIE-LCHlch(20.45, 69.63, 307.37°)
OKLaboklab(33.34% 0.0436 -0.1594)
OKLCHoklch(33.34% 0.165 285.3)
XYZxyz(6.0272, 3.1032, 22.4671)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351885 #688518
analogous
#183185 #351885 #6B1885
triadic
#351885 #853518 #188535
tetradic
#351885 #851831 #688518 #18856B
square
#351885 #851831 #688518 #18856B
split-complementary
#351885 #856B18 #318518
monochromatic
#0C051D #200F51 #351885 #4A21B9 #663CDC

Accessibility & contrast

On white

12.96
#351885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#351885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351885
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351885#FFFFFF#000000##FFFFFF
##3518851.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#07394F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351885;
/* rgb */ color: rgb(53, 24, 133);
/* oklch */ color: oklch(33.3% 0.165 285.3);
Tailwind
colors: {
  custom: {
    50: '#775aaa',
    500: '#351885',
    950: '#000000',
  },
}
SCSS
$custom: #351885;
$custom-light: #775aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#351885",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 255.963,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33341,
    "c": 0.16529,
    "h": 285.3
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#351885
secondary
#99B940
accent
#EC3CBD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351885

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

Preview Lab → · Contrast checker → · Palette generator →

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