#351970#351970

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

Color values

HEX#351970
RGBrgb(53, 25, 112)
HSLhsl(259, 64%, 27%)
HSVhsv(259, 78%, 44%)
CMYKcmyk(52.7%, 77.7%, 0%, 56.1%)
CIE-LABlab(18.46, 35.50, -45.20)
CIE-LCHlch(18.46, 57.47, 308.15°)
OKLaboklab(31.29% 0.0493 -0.1298)
OKLCHoklch(31.29% 0.139 290.8)
XYZxyz(4.7396, 2.6218, 15.5824)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351970 #547019
analogous
#192970 #351970 #611970
triadic
#351970 #703519 #197035
tetradic
#351970 #701929 #547019 #197061
square
#351970 #701929 #547019 #197061
split-complementary
#351970 #706119 #297019
monochromatic
#0C0619 #1D0E3E #351970 #4D24A2 #6532D1

Accessibility & contrast

On white

13.78
#351970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351970
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351970#FFFFFF#000000##FFFFFF
##3519701.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E72
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#213143
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351970;
/* rgb */ color: rgb(53, 25, 112);
/* oklch */ color: oklch(31.3% 0.139 290.8);
Tailwind
colors: {
  custom: {
    50: '#73599a',
    500: '#351970',
    950: '#000000',
  },
}
SCSS
$custom: #351970;
$custom-light: #73599a;
$custom-dark: #000000;
JSON
{
  "hex": "#351970",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 259.31,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31294,
    "c": 0.13883,
    "h": 290.8
  },
  "luminance": 0.02622
}

Semantic roles & 50–950 ramp

primary
#351970
secondary
#85A540
accent
#E741B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351970

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

Preview Lab → · Contrast checker → · Palette generator →

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