#351673#351673

#351673 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.146 H 290.5°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#351673
RGBrgb(53, 22, 115)
HSLhsl(260, 68%, 27%)
HSVhsv(260, 81%, 45%)
CMYKcmyk(53.9%, 80.9%, 0%, 54.9%)
CIE-LABlab(18.22, 37.92, -47.53)
CIE-LCHlch(18.22, 60.80, 308.58°)
OKLaboklab(31.22% 0.051 -0.1366)
OKLCHoklch(31.22% 0.146 290.5)
XYZxyz(4.8487, 2.5683, 16.4566)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351673 #547316
analogous
#162673 #351673 #641673
triadic
#351673 #733516 #167335
tetradic
#351673 #731626 #547316 #167364
square
#351673 #731626 #547316 #167364
split-complementary
#351673 #736416 #267316
monochromatic
#0C051A #1D0C40 #351673 #4D20A6 #652DD7

Accessibility & contrast

On white

13.87
#351673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#351673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351673
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351673#FFFFFF#000000##FFFFFF
##3516731.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#1F3044
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351673;
/* rgb */ color: rgb(53, 22, 115);
/* oklch */ color: oklch(31.2% 0.146 290.5);
Tailwind
colors: {
  custom: {
    50: '#74579c',
    500: '#351673',
    950: '#000000',
  },
}
SCSS
$custom: #351673;
$custom-light: #74579c;
$custom-dark: #000000;
JSON
{
  "hex": "#351673",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 260,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3122,
    "c": 0.14579,
    "h": 290.5
  },
  "luminance": 0.02569
}

Semantic roles & 50–950 ramp

primary
#351673
secondary
#85A93C
accent
#EB3DB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351673

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

Preview Lab → · Contrast checker → · Palette generator →

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