#351A79#351A79

#351A79 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.149 H 288.0°. Best body text is #FFFFFF at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#351A79
RGBrgb(53, 26, 121)
HSLhsl(257, 65%, 29%)
HSVhsv(257, 79%, 47%)
CMYKcmyk(56.2%, 78.5%, 0%, 52.5%)
CIE-LABlab(19.54, 37.69, -49.22)
CIE-LCHlch(19.54, 61.99, 307.44°)
OKLaboklab(32.33% 0.0459 -0.1416)
OKLCHoklch(32.33% 0.149 288)
XYZxyz(5.2878, 2.8759, 18.3619)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A79 #5E791A
analogous
#1A2F79 #351A79 #651A79
triadic
#351A79 #79351A #1A7935
tetradic
#351A79 #791A2F #5E791A #1A7965
square
#351A79 #791A2F #5E791A #1A7965
split-complementary
#351A79 #79651A #2F791A
monochromatic
#0B0519 #1F0F47 #351A79 #4B25AB #6539D4

Accessibility & contrast

On white

13.33
#351A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#351A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A79
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A79#FFFFFF#000000##FFFFFF
##351A791.0013.331.5813.33
#FFFFFF13.331.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351a79;
/* rgb */ color: rgb(53, 26, 121);
/* oklch */ color: oklch(32.3% 0.149 288.0);
Tailwind
colors: {
  custom: {
    50: '#755aa1',
    500: '#351a79',
    950: '#000000',
  },
}
SCSS
$custom: #351a79;
$custom-light: #755aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#351a79",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 257.053,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32326,
    "c": 0.14884,
    "h": 288
  },
  "luminance": 0.02876
}

Semantic roles & 50–950 ramp

primary
#351A79
secondary
#8FAD41
accent
#E840B8
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351A79

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

Preview Lab → · Contrast checker → · Palette generator →

#351A79 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva