#351A7E#351A7E

#351A7E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.155 H 286.7°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#351A7E
RGBrgb(53, 26, 126)
HSLhsl(256, 66%, 30%)
HSVhsv(256, 79%, 49%)
CMYKcmyk(57.9%, 79.4%, 0%, 50.6%)
CIE-LABlab(20.05, 39.20, -51.57)
CIE-LCHlch(20.05, 64.77, 307.24°)
OKLaboklab(32.84% 0.0445 -0.1484)
OKLCHoklch(32.84% 0.155 286.7)
XYZxyz(5.6024, 3.0017, 20.0188)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A7E #637E1A
analogous
#1A317E #351A7E #671A7E
triadic
#351A7E #7E351A #1A7E35
tetradic
#351A7E #7E1A31 #637E1A #1A7E67
square
#351A7E #7E1A31 #637E1A #1A7E67
split-complementary
#351A7E #7E671A #317E1A
monochromatic
#0B0519 #20104B #351A7E #4A24B1 #663CD7

Accessibility & contrast

On white

13.12
#351A7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351A7E
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A7E#FFFFFF#000000##FFFFFF
##351A7E1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#13374B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351a7e;
/* rgb */ color: rgb(53, 26, 126);
/* oklch */ color: oklch(32.8% 0.155 286.7);
Tailwind
colors: {
  custom: {
    50: '#765aa4',
    500: '#351a7e',
    950: '#000000',
  },
}
SCSS
$custom: #351a7e;
$custom-light: #765aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#351a7e",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 126
  },
  "hsl": {
    "h": 256.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32838,
    "c": 0.15496,
    "h": 286.7
  },
  "luminance": 0.03002
}

Semantic roles & 50–950 ramp

primary
#351A7E
secondary
#94B242
accent
#E93FBB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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