#351159#351159

#351159 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.120 H 301.7°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#351159
RGBrgb(53, 17, 89)
HSLhsl(270, 68%, 21%)
HSVhsv(270, 81%, 35%)
CMYKcmyk(40.4%, 80.9%, 0%, 65.1%)
CIE-LABlab(14.84, 32.97, -35.94)
CIE-LCHlch(14.84, 48.77, 312.53°)
OKLaboklab(28.07% 0.0633 -0.1025)
OKLCHoklch(28.07% 0.12 301.7)
XYZxyz(3.4714, 1.8790, 9.6291)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351159 #355911
analogous
#111159 #351159 #591159
triadic
#351159 #593511 #115935
tetradic
#351159 #591111 #355911 #115959
square
#351159 #591111 #355911 #115959
split-complementary
#351159 #595911 #115911
monochromatic
#0F051A #160726 #351159 #541B8C #7225C0

Accessibility & contrast

On white

15.26
#351159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#351159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351159
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351159#FFFFFF#000000##FFFFFF
##3511591.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#2D2334
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #351159;
/* rgb */ color: rgb(53, 17, 89);
/* oklch */ color: oklch(28.1% 0.120 301.7);
Tailwind
colors: {
  custom: {
    50: '#705389',
    500: '#351159',
    950: '#000000',
  },
}
SCSS
$custom: #351159;
$custom-light: #705389;
$custom-dark: #000000;
JSON
{
  "hex": "#351159",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 270,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28071,
    "c": 0.12048,
    "h": 301.7
  },
  "luminance": 0.01879
}

Semantic roles & 50–950 ramp

primary
#351159
secondary
#639234
accent
#EB3D94
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351159

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

Preview Lab → · Contrast checker → · Palette generator →

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