#351060#351060

#351060 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.130 H 298.6°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#351060
RGBrgb(53, 16, 96)
HSLhsl(268, 71%, 22%)
HSVhsv(268, 83%, 38%)
CMYKcmyk(44.8%, 83.3%, 0%, 62.4%)
CIE-LABlab(15.34, 35.35, -39.81)
CIE-LCHlch(15.34, 53.24, 311.61°)
OKLaboklab(28.63% 0.0622 -0.1139)
OKLCHoklch(28.63% 0.13 298.6)
XYZxyz(3.7643, 1.9719, 11.2464)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351060 #3B6010
analogous
#101360 #351060 #5D1060
triadic
#351060 #603510 #106035
tetradic
#351060 #601013 #3B6010 #10605D
square
#351060 #601013 #3B6010 #10605D
split-complementary
#351060 #605D10 #136010
monochromatic
#0E041A #18072C #351060 #521994 #6F21C9

Accessibility & contrast

On white

15.06
#351060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#351060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351060
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351060#FFFFFF#000000##FFFFFF
##3510601.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351060;
/* rgb */ color: rgb(53, 16, 96);
/* oklch */ color: oklch(28.6% 0.130 298.6);
Tailwind
colors: {
  custom: {
    50: '#71538e',
    500: '#351060',
    950: '#000000',
  },
}
SCSS
$custom: #351060;
$custom-light: #71538e;
$custom-dark: #000000;
JSON
{
  "hex": "#351060",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 267.75,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28626,
    "c": 0.12976,
    "h": 298.6
  },
  "luminance": 0.01972
}

Semantic roles & 50–950 ramp

primary
#351060
secondary
#6A9933
accent
#EE3A9B
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351060

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

Preview Lab → · Contrast checker → · Palette generator →

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