#351575#351575

#351575 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.149 H 290.0°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#351575
RGBrgb(53, 21, 117)
HSLhsl(260, 70%, 27%)
HSVhsv(260, 82%, 46%)
CMYKcmyk(54.7%, 82.1%, 0%, 54.1%)
CIE-LABlab(18.26, 38.98, -48.75)
CIE-LCHlch(18.26, 62.42, 308.65°)
OKLaboklab(31.31% 0.0511 -0.1402)
OKLCHoklch(31.31% 0.149 290)
XYZxyz(4.9463, 2.5773, 17.0630)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351575 #557515
analogous
#152575 #351575 #651575
triadic
#351575 #753515 #157535
tetradic
#351575 #751525 #557515 #157565
square
#351575 #751525 #557515 #157565
split-complementary
#351575 #756515 #257515
monochromatic
#0C051A #1D0C41 #351575 #4D1EA9 #652BD9

Accessibility & contrast

On white

13.86
#351575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#351575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351575
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351575#FFFFFF#000000##FFFFFF
##3515751.0013.861.5213.86
#FFFFFF13.861.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002A73
Tritanopia (blue-blind)
#1D3145
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351575;
/* rgb */ color: rgb(53, 21, 117);
/* oklch */ color: oklch(31.3% 0.149 290.0);
Tailwind
colors: {
  custom: {
    50: '#74579e',
    500: '#351575',
    950: '#000000',
  },
}
SCSS
$custom: #351575;
$custom-light: #74579e;
$custom-dark: #000000;
JSON
{
  "hex": "#351575",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 260,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31311,
    "c": 0.14918,
    "h": 290
  },
  "luminance": 0.02578
}

Semantic roles & 50–950 ramp

primary
#351575
secondary
#86AB3B
accent
#EC3BB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351575

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

Preview Lab → · Contrast checker → · Palette generator →

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