#351985#351985

#351985 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.164 H 285.2°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#351985
RGBrgb(53, 25, 133)
HSLhsl(256, 68%, 31%)
HSVhsv(256, 81%, 52%)
CMYKcmyk(60.2%, 81.2%, 0%, 47.8%)
CIE-LABlab(20.62, 41.79, -55.06)
CIE-LCHlch(20.62, 69.13, 307.20°)
OKLaboklab(33.45% 0.043 -0.1587)
OKLCHoklch(33.45% 0.164 285.2)
XYZxyz(6.0482, 3.1452, 22.4741)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351985 #698519
analogous
#193385 #351985 #6B1985
triadic
#351985 #853519 #198535
tetradic
#351985 #851933 #698519 #19856B
square
#351985 #851933 #698519 #19856B
split-complementary
#351985 #856B19 #338519
monochromatic
#0C061E #200F51 #351985 #4A23B9 #663EDB

Accessibility & contrast

On white

12.89
#351985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351985
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351985#FFFFFF#000000##FFFFFF
##3519851.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351985;
/* rgb */ color: rgb(53, 25, 133);
/* oklch */ color: oklch(33.5% 0.164 285.2);
Tailwind
colors: {
  custom: {
    50: '#775aaa',
    500: '#351985',
    950: '#000000',
  },
}
SCSS
$custom: #351985;
$custom-light: #775aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#351985",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 255.556,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33454,
    "c": 0.16438,
    "h": 285.2
  },
  "luminance": 0.03146
}

Semantic roles & 50–950 ramp

primary
#351985
secondary
#9AB941
accent
#EB3DBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351985

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

Preview Lab → · Contrast checker → · Palette generator →

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