#351979#351979

#351979 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.150 H 288.2°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#351979
RGBrgb(53, 25, 121)
HSLhsl(258, 66%, 29%)
HSVhsv(258, 79%, 47%)
CMYKcmyk(56.2%, 79.3%, 0%, 52.5%)
CIE-LABlab(19.36, 38.20, -49.52)
CIE-LCHlch(19.36, 62.54, 307.65°)
OKLaboklab(32.2% 0.0467 -0.1424)
OKLCHoklch(32.2% 0.15 288.2)
XYZxyz(5.2660, 2.8324, 18.3547)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351979 #5D7919
analogous
#192D79 #351979 #651979
triadic
#351979 #793519 #197935
tetradic
#351979 #79192D #5D7919 #197965
square
#351979 #79192D #5D7919 #197965
split-complementary
#351979 #796519 #2D7919
monochromatic
#0B0519 #1F0F46 #351979 #4B23AC #6537D6

Accessibility & contrast

On white

13.40
#351979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#351979 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351979
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351979#FFFFFF#000000##FFFFFF
##3519791.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#193448
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351979;
/* rgb */ color: rgb(53, 25, 121);
/* oklch */ color: oklch(32.2% 0.150 288.2);
Tailwind
colors: {
  custom: {
    50: '#7559a1',
    500: '#351979',
    950: '#000000',
  },
}
SCSS
$custom: #351979;
$custom-light: #7559a1;
$custom-dark: #000000;
JSON
{
  "hex": "#351979",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 257.5,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32199,
    "c": 0.14991,
    "h": 288.2
  },
  "luminance": 0.02833
}

Semantic roles & 50–950 ramp

primary
#351979
secondary
#8EAE40
accent
#E93FB7
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351979

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

Preview Lab → · Contrast checker → · Palette generator →

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