#351A85#351A85

#351A85 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.163 H 285.0°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#351A85
RGBrgb(53, 26, 133)
HSLhsl(255, 67%, 31%)
HSVhsv(255, 80%, 52%)
CMYKcmyk(60.2%, 80.5%, 0%, 47.8%)
CIE-LABlab(20.78, 41.30, -54.79)
CIE-LCHlch(20.78, 68.61, 307.01°)
OKLaboklab(33.57% 0.0423 -0.1579)
OKLCHoklch(33.57% 0.163 285)
XYZxyz(6.0699, 3.1888, 22.4814)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A85 #6A851A
analogous
#1A3485 #351A85 #6A1A85
triadic
#351A85 #85351A #1A8535
tetradic
#351A85 #851A34 #6A851A #1A856A
square
#351A85 #851A34 #6A851A #1A856A
split-complementary
#351A85 #856A1A #34851A
monochromatic
#0C061F #211052 #351A85 #4924B8 #6740DA

Accessibility & contrast

On white

12.82
#351A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#351A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A85
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A85#FFFFFF#000000##FFFFFF
##351A851.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351a85;
/* rgb */ color: rgb(53, 26, 133);
/* oklch */ color: oklch(33.6% 0.163 285.0);
Tailwind
colors: {
  custom: {
    50: '#775baa',
    500: '#351a85',
    950: '#000000',
  },
}
SCSS
$custom: #351a85;
$custom-light: #775baa;
$custom-dark: #000000;
JSON
{
  "hex": "#351a85",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 255.14,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33571,
    "c": 0.16343,
    "h": 285
  },
  "luminance": 0.03189
}

Semantic roles & 50–950 ramp

primary
#351A85
secondary
#9BB842
accent
#EA3EBF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351A85

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

Preview Lab → · Contrast checker → · Palette generator →

#351A85 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva