#351574#351574

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

Color values

HEX#351574
RGBrgb(53, 21, 116)
HSLhsl(260, 69%, 27%)
HSVhsv(260, 82%, 45%)
CMYKcmyk(54.3%, 81.9%, 0%, 54.5%)
CIE-LABlab(18.16, 38.69, -48.28)
CIE-LCHlch(18.16, 61.87, 308.71°)
OKLaboklab(31.21% 0.0514 -0.1388)
OKLCHoklch(31.21% 0.148 290.3)
XYZxyz(4.8878, 2.5540, 16.7550)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351574 #547415
analogous
#152474 #351574 #651574
triadic
#351574 #743515 #157435
tetradic
#351574 #741524 #547415 #157465
square
#351574 #741524 #547415 #157465
split-complementary
#351574 #746515 #247415
monochromatic
#0C051A #1D0C40 #351574 #4D1EA8 #652BD9

Accessibility & contrast

On white

13.90
#351574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351574
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351574#FFFFFF#000000##FFFFFF
##3515741.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#1E3044
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351574;
/* rgb */ color: rgb(53, 21, 116);
/* oklch */ color: oklch(31.2% 0.148 290.3);
Tailwind
colors: {
  custom: {
    50: '#74579d',
    500: '#351574',
    950: '#000000',
  },
}
SCSS
$custom: #351574;
$custom-light: #74579d;
$custom-dark: #000000;
JSON
{
  "hex": "#351574",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 260.211,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31207,
    "c": 0.14799,
    "h": 290.3
  },
  "luminance": 0.02554
}

Semantic roles & 50–950 ramp

primary
#351574
secondary
#85AA3B
accent
#EC3CB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351574

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

Preview Lab → · Contrast checker → · Palette generator →

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