#351683#351683

#351683 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.165 H 286.1°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#351683
RGBrgb(53, 22, 131)
HSLhsl(257, 71%, 30%)
HSVhsv(257, 83%, 51%)
CMYKcmyk(59.5%, 83.2%, 0%, 48.6%)
CIE-LABlab(19.92, 42.59, -54.95)
CIE-LCHlch(19.92, 69.53, 307.78°)
OKLaboklab(32.91% 0.0456 -0.1583)
OKLCHoklch(32.91% 0.165 286.1)
XYZxyz(5.8506, 2.9691, 21.7331)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351683 #648316
analogous
#162E83 #351683 #6B1683
triadic
#351683 #833516 #168335
tetradic
#351683 #83162E #648316 #16836B
square
#351683 #83162E #648316 #16836B
split-complementary
#351683 #836B16 #2E8316
monochromatic
#0B041A #200D4F #351683 #4A1FB7 #6636DD

Accessibility & contrast

On white

13.18
#351683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#351683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351683
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351683#FFFFFF#000000##FFFFFF
##3516831.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#0B374D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351683;
/* rgb */ color: rgb(53, 22, 131);
/* oklch */ color: oklch(32.9% 0.165 286.1);
Tailwind
colors: {
  custom: {
    50: '#7758a8',
    500: '#351683',
    950: '#000000',
  },
}
SCSS
$custom: #351683;
$custom-light: #7758a8;
$custom-dark: #000000;
JSON
{
  "hex": "#351683",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 131
  },
  "hsl": {
    "h": 257.064,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.32907,
    "c": 0.16472,
    "h": 286.1
  },
  "luminance": 0.02969
}

Semantic roles & 50–950 ramp

primary
#351683
secondary
#95B73D
accent
#EE3ABB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351683

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

Preview Lab → · Contrast checker → · Palette generator →

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