#351A7F#351A7F

#351A7F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.156 H 286.4°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#351A7F
RGBrgb(53, 26, 127)
HSLhsl(256, 66%, 30%)
HSVhsv(256, 80%, 50%)
CMYKcmyk(58.3%, 79.5%, 0%, 50.2%)
CIE-LABlab(20.15, 39.50, -52.03)
CIE-LCHlch(20.15, 65.33, 307.20°)
OKLaboklab(32.94% 0.0442 -0.1498)
OKLCHoklch(32.94% 0.156 286.4)
XYZxyz(5.6672, 3.0277, 20.3603)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A7F #647F1A
analogous
#1A317F #351A7F #681A7F
triadic
#351A7F #7F351A #1A7F35
tetradic
#351A7F #7F1A31 #647F1A #1A7F68
square
#351A7F #7F1A31 #647F1A #1A7F68
split-complementary
#351A7F #7F681A #317F1A
monochromatic
#0B0519 #20104C #351A7F #4A24B2 #663CD7

Accessibility & contrast

On white

13.08
#351A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#351A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A7F
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A7F#FFFFFF#000000##FFFFFF
##351A7F1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#12374C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351a7f;
/* rgb */ color: rgb(53, 26, 127);
/* oklch */ color: oklch(32.9% 0.156 286.4);
Tailwind
colors: {
  custom: {
    50: '#765aa5',
    500: '#351a7f',
    950: '#000000',
  },
}
SCSS
$custom: #351a7f;
$custom-light: #765aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#351a7f",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 256.04,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.32942,
    "c": 0.15618,
    "h": 286.4
  },
  "luminance": 0.03028
}

Semantic roles & 50–950 ramp

primary
#351A7F
secondary
#95B342
accent
#E93FBB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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