#351573#351573

#351573 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.147 H 290.6°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#351573
RGBrgb(53, 21, 115)
HSLhsl(260, 69%, 27%)
HSVhsv(260, 82%, 45%)
CMYKcmyk(53.9%, 81.7%, 0%, 54.9%)
CIE-LABlab(18.06, 38.40, -47.80)
CIE-LCHlch(18.06, 61.32, 308.78°)
OKLaboklab(31.1% 0.0518 -0.1374)
OKLCHoklch(31.1% 0.147 290.6)
XYZxyz(4.8300, 2.5308, 16.4503)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351573 #537315
analogous
#152473 #351573 #641573
triadic
#351573 #733515 #157335
tetradic
#351573 #731524 #537315 #157364
square
#351573 #731524 #537315 #157364
split-complementary
#351573 #736415 #247315
monochromatic
#0C051A #1D0C3F #351573 #4D1EA7 #652AD8

Accessibility & contrast

On white

13.94
#351573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351573
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351573#FFFFFF#000000##FFFFFF
##3515731.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.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: #351573;
/* rgb */ color: rgb(53, 21, 115);
/* oklch */ color: oklch(31.1% 0.147 290.6);
Tailwind
colors: {
  custom: {
    50: '#74579c',
    500: '#351573',
    950: '#000000',
  },
}
SCSS
$custom: #351573;
$custom-light: #74579c;
$custom-dark: #000000;
JSON
{
  "hex": "#351573",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 260.426,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31104,
    "c": 0.14681,
    "h": 290.6
  },
  "luminance": 0.02531
}

Semantic roles & 50–950 ramp

primary
#351573
secondary
#83A93B
accent
#EC3CB0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351573

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

Preview Lab → · Contrast checker → · Palette generator →

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