#351690#351690

#351690 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.3% C 0.180 H 283.2°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#351690
RGBrgb(53, 22, 144)
HSLhsl(255, 73%, 33%)
HSVhsv(255, 85%, 56%)
CMYKcmyk(63.2%, 84.7%, 0%, 43.5%)
CIE-LABlab(21.37, 46.36, -60.70)
CIE-LCHlch(21.37, 76.38, 307.37°)
OKLaboklab(34.34% 0.0409 -0.175)
OKLCHoklch(34.34% 0.18 283.2)
XYZxyz(6.7876, 3.3438, 26.6679)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351690 #719016
analogous
#163490 #351690 #721690
triadic
#351690 #903516 #169035
tetradic
#351690 #901634 #719016 #169072
square
#351690 #901634 #719016 #169072
split-complementary
#351690 #907216 #349016
monochromatic
#0E0626 #210E5B #351690 #491EC5 #683FE2

Accessibility & contrast

On white

12.58
#351690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#351690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351690
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351690#FFFFFF#000000##FFFFFF
##3516901.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#003C55
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #351690;
/* rgb */ color: rgb(53, 22, 144);
/* oklch */ color: oklch(34.3% 0.180 283.2);
Tailwind
colors: {
  custom: {
    50: '#7959b2',
    500: '#351690',
    950: '#000000',
  },
}
SCSS
$custom: #351690;
$custom-light: #7959b2;
$custom-dark: #000000;
JSON
{
  "hex": "#351690",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 255.246,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34337,
    "c": 0.17976,
    "h": 283.2
  },
  "luminance": 0.03344
}

Semantic roles & 50–950 ramp

primary
#351690
secondary
#A1C240
accent
#F038C1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351690

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

Preview Lab → · Contrast checker → · Palette generator →

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