#351373#351373

#351373 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.149 H 291.0°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#351373
RGBrgb(53, 19, 115)
HSLhsl(261, 72%, 26%)
HSVhsv(261, 83%, 45%)
CMYKcmyk(53.9%, 83.5%, 0%, 54.9%)
CIE-LABlab(17.74, 39.33, -48.33)
CIE-LCHlch(17.74, 62.31, 309.14°)
OKLaboklab(30.88% 0.0533 -0.1389)
OKLCHoklch(30.88% 0.149 291)
XYZxyz(4.7947, 2.4602, 16.4386)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351373 #517313
analogous
#132173 #351373 #651373
triadic
#351373 #733513 #137335
tetradic
#351373 #731321 #517313 #137365
square
#351373 #731321 #517313 #137365
split-complementary
#351373 #736513 #217313
monochromatic
#0C041A #1D0A3E #351373 #4D1CA8 #6625DB

Accessibility & contrast

On white

14.08
#351373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#351373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351373
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351373#FFFFFF#000000##FFFFFF
##3513731.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D76
Deuteranopia (green-blind)
#002971
Tritanopia (blue-blind)
#1F2F43
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351373;
/* rgb */ color: rgb(53, 19, 115);
/* oklch */ color: oklch(30.9% 0.149 291.0);
Tailwind
colors: {
  custom: {
    50: '#74569c',
    500: '#351373',
    950: '#000000',
  },
}
SCSS
$custom: #351373;
$custom-light: #74569c;
$custom-dark: #000000;
JSON
{
  "hex": "#351373",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 261.25,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30882,
    "c": 0.14877,
    "h": 291
  },
  "luminance": 0.0246
}

Semantic roles & 50–950 ramp

primary
#351373
secondary
#81AA38
accent
#EE39AE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351373

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

Preview Lab → · Contrast checker → · Palette generator →

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