#351693#351693

#351693 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.7% C 0.183 H 282.6°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#351693
RGBrgb(53, 22, 147)
HSLhsl(255, 74%, 33%)
HSVhsv(255, 85%, 58%)
CMYKcmyk(63.9%, 85%, 0%, 42.4%)
CIE-LABlab(21.71, 47.22, -61.99)
CIE-LCHlch(21.71, 77.93, 307.30°)
OKLaboklab(34.67% 0.0398 -0.1788)
OKLCHoklch(34.67% 0.183 282.6)
XYZxyz(7.0199, 3.4368, 27.8915)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351693 #749316
analogous
#163593 #351693 #731693
triadic
#351693 #933516 #169335
tetradic
#351693 #931635 #749316 #169373
square
#351693 #931635 #749316 #169373
split-complementary
#351693 #937316 #359316
monochromatic
#0F0629 #220E5E #351693 #481EC8 #6941E3

Accessibility & contrast

On white

12.45
#351693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#351693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351693
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351693#FFFFFF#000000##FFFFFF
##3516931.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#003E57
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #351693;
/* rgb */ color: rgb(53, 22, 147);
/* oklch */ color: oklch(34.7% 0.183 282.6);
Tailwind
colors: {
  custom: {
    50: '#7a5ab4',
    500: '#351693',
    950: '#000000',
  },
}
SCSS
$custom: #351693;
$custom-light: #7a5ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#351693",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 254.88,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34673,
    "c": 0.18319,
    "h": 282.6
  },
  "luminance": 0.03437
}

Semantic roles & 50–950 ramp

primary
#351693
secondary
#A3C342
accent
#F137C3
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351693

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

Preview Lab → · Contrast checker → · Palette generator →

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