#351670#351670

#351670 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.142 H 291.4°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#351670
RGBrgb(53, 22, 112)
HSLhsl(261, 67%, 26%)
HSVhsv(261, 80%, 44%)
CMYKcmyk(52.7%, 80.4%, 0%, 56.1%)
CIE-LABlab(17.92, 37.04, -46.08)
CIE-LCHlch(17.92, 59.12, 308.79°)
OKLaboklab(30.92% 0.0519 -0.1324)
OKLCHoklch(30.92% 0.142 291.4)
XYZxyz(4.6789, 2.5004, 15.5622)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351670 #517016
analogous
#162470 #351670 #621670
triadic
#351670 #703516 #167035
tetradic
#351670 #701624 #517016 #167062
square
#351670 #701624 #517016 #167062
split-complementary
#351670 #706216 #247016
monochromatic
#0C051A #1D0C3D #351670 #4D20A3 #662BD5

Accessibility & contrast

On white

14.00
#351670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#351670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351670
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351670#FFFFFF#000000##FFFFFF
##3516701.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#212F42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351670;
/* rgb */ color: rgb(53, 22, 112);
/* oklch */ color: oklch(30.9% 0.142 291.4);
Tailwind
colors: {
  custom: {
    50: '#73579a',
    500: '#351670',
    950: '#000000',
  },
}
SCSS
$custom: #351670;
$custom-light: #73579a;
$custom-dark: #000000;
JSON
{
  "hex": "#351670",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 260.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30915,
    "c": 0.14218,
    "h": 291.4
  },
  "luminance": 0.02501
}

Semantic roles & 50–950 ramp

primary
#351670
secondary
#81A63C
accent
#EA3EAF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351670

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

Preview Lab → · Contrast checker → · Palette generator →

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