#351689#351689

#351689 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.6% C 0.172 H 284.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#351689
RGBrgb(53, 22, 137)
HSLhsl(256, 72%, 31%)
HSVhsv(256, 84%, 54%)
CMYKcmyk(61.3%, 83.9%, 0%, 46.3%)
CIE-LABlab(20.58, 44.34, -57.63)
CIE-LCHlch(20.58, 72.72, 307.57°)
OKLaboklab(33.56% 0.0434 -0.1661)
OKLCHoklch(33.56% 0.172 284.7)
XYZxyz(6.2691, 3.1364, 23.9371)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351689 #6A8916
analogous
#163089 #351689 #6E1689
triadic
#351689 #893516 #168935
tetradic
#351689 #891630 #6A8916 #16896E
square
#351689 #891630 #6A8916 #16896E
split-complementary
#351689 #896E16 #308916
monochromatic
#0C0520 #210E54 #351689 #491EBE #673ADF

Accessibility & contrast

On white

12.90
#351689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351689
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351689#FFFFFF#000000##FFFFFF
##3516891.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#003951
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #351689;
/* rgb */ color: rgb(53, 22, 137);
/* oklch */ color: oklch(33.6% 0.172 284.7);
Tailwind
colors: {
  custom: {
    50: '#7859ad',
    500: '#351689',
    950: '#000000',
  },
}
SCSS
$custom: #351689;
$custom-light: #7859ad;
$custom-dark: #000000;
JSON
{
  "hex": "#351689",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 256.174,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33561,
    "c": 0.1717,
    "h": 284.7
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#351689
secondary
#9BBD3E
accent
#EF39BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351689

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

Preview Lab → · Contrast checker → · Palette generator →

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