#351A7D#351A7D

#351A7D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.154 H 286.9°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#351A7D
RGBrgb(53, 26, 125)
HSLhsl(256, 66%, 30%)
HSVhsv(256, 79%, 49%)
CMYKcmyk(57.6%, 79.2%, 0%, 51%)
CIE-LABlab(19.95, 38.90, -51.10)
CIE-LCHlch(19.95, 64.22, 307.28°)
OKLaboklab(32.74% 0.0448 -0.1471)
OKLCHoklch(32.74% 0.154 286.9)
XYZxyz(5.5382, 2.9760, 19.6807)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A7D #627D1A
analogous
#1A307D #351A7D #671A7D
triadic
#351A7D #7D351A #1A7D35
tetradic
#351A7D #7D1A30 #627D1A #1A7D67
square
#351A7D #7D1A30 #627D1A #1A7D67
split-complementary
#351A7D #7D671A #307D1A
monochromatic
#0B0519 #200F4A #351A7D #4A25B0 #653BD6

Accessibility & contrast

On white

13.16
#351A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#351A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A7D
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A7D#FFFFFF#000000##FFFFFF
##351A7D1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003380
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#14364B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351a7d;
/* rgb */ color: rgb(53, 26, 125);
/* oklch */ color: oklch(32.7% 0.154 286.9);
Tailwind
colors: {
  custom: {
    50: '#755aa4',
    500: '#351a7d',
    950: '#000000',
  },
}
SCSS
$custom: #351a7d;
$custom-light: #755aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#351a7d",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 125
  },
  "hsl": {
    "h": 256.364,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32735,
    "c": 0.15375,
    "h": 286.9
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#351A7D
secondary
#93B142
accent
#E93FBA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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