#351160#351160

#351160 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.129 H 298.4°. Best body text is #FFFFFF at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#351160
RGBrgb(53, 17, 96)
HSLhsl(267, 70%, 22%)
HSVhsv(267, 82%, 38%)
CMYKcmyk(44.8%, 82.3%, 0%, 62.4%)
CIE-LABlab(15.50, 34.89, -39.54)
CIE-LCHlch(15.50, 52.73, 311.42°)
OKLaboklab(28.74% 0.0613 -0.1131)
OKLCHoklch(28.74% 0.129 298.4)
XYZxyz(3.7794, 2.0023, 11.2514)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351160 #3C6011
analogous
#111460 #351160 #5D1160
triadic
#351160 #603511 #116035
tetradic
#351160 #601114 #3C6011 #11605D
square
#351160 #601114 #3C6011 #11605D
split-complementary
#351160 #605D11 #146011
monochromatic
#0E051A #18082C #351160 #521A94 #6E23C8

Accessibility & contrast

On white

15.00
#351160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#351160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351160
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351160#FFFFFF#000000##FFFFFF
##3511601.0015.001.4015.00
#FFFFFF15.001.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00265E
Tritanopia (blue-blind)
#2A2638
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #351160;
/* rgb */ color: rgb(53, 17, 96);
/* oklch */ color: oklch(28.7% 0.129 298.4);
Tailwind
colors: {
  custom: {
    50: '#71548e',
    500: '#351160',
    950: '#000000',
  },
}
SCSS
$custom: #351160;
$custom-light: #71548e;
$custom-dark: #000000;
JSON
{
  "hex": "#351160",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 267.342,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28738,
    "c": 0.12866,
    "h": 298.4
  },
  "luminance": 0.02002
}

Semantic roles & 50–950 ramp

primary
#351160
secondary
#6B9934
accent
#ED3B9C
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351160

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

Preview Lab → · Contrast checker → · Palette generator →

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