#351572#351572

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

Color values

HEX#351572
RGBrgb(53, 21, 114)
HSLhsl(261, 69%, 26%)
HSVhsv(261, 82%, 45%)
CMYKcmyk(53.5%, 81.6%, 0%, 55.3%)
CIE-LABlab(17.95, 38.11, -47.32)
CIE-LCHlch(17.95, 60.76, 308.84°)
OKLaboklab(31% 0.0521 -0.136)
OKLCHoklch(31% 0.146 291)
XYZxyz(4.7728, 2.5079, 16.1489)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351572 #527215
analogous
#152472 #351572 #641572
triadic
#351572 #723515 #157235
tetradic
#351572 #721524 #527215 #157264
square
#351572 #721524 #527215 #157264
split-complementary
#351572 #726415 #247215
monochromatic
#0C051A #1D0B3E #351572 #4D1FA6 #662AD8

Accessibility & contrast

On white

13.99
#351572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#351572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351572
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351572#FFFFFF#000000##FFFFFF
##3515721.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#1F3043
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351572;
/* rgb */ color: rgb(53, 21, 114);
/* oklch */ color: oklch(31.0% 0.146 291.0);
Tailwind
colors: {
  custom: {
    50: '#74579b',
    500: '#351572',
    950: '#000000',
  },
}
SCSS
$custom: #351572;
$custom-light: #74579b;
$custom-dark: #000000;
JSON
{
  "hex": "#351572",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 260.645,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31001,
    "c": 0.14563,
    "h": 291
  },
  "luminance": 0.02508
}

Semantic roles & 50–950 ramp

primary
#351572
secondary
#82A83B
accent
#EC3CAF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351572

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

Preview Lab → · Contrast checker → · Palette generator →

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