#351A80#351A80

#351A80 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.157 H 286.2°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#351A80
RGBrgb(53, 26, 128)
HSLhsl(256, 66%, 30%)
HSVhsv(256, 80%, 50%)
CMYKcmyk(58.6%, 79.7%, 0%, 49.8%)
CIE-LABlab(20.26, 39.80, -52.50)
CIE-LCHlch(20.26, 65.88, 307.17°)
OKLaboklab(33.05% 0.0439 -0.1512)
OKLCHoklch(33.05% 0.157 286.2)
XYZxyz(5.7327, 3.0539, 20.7053)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A80 #65801A
analogous
#1A3280 #351A80 #681A80
triadic
#351A80 #80351A #1A8035
tetradic
#351A80 #801A32 #65801A #1A8068
square
#351A80 #801A32 #65801A #1A8068
split-complementary
#351A80 #80681A #32801A
monochromatic
#0B051A #20104D #351A80 #4A24B3 #663DD8

Accessibility & contrast

On white

13.04
#351A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351A80
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A80#FFFFFF#000000##FFFFFF
##351A801.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#10374C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351a80;
/* rgb */ color: rgb(53, 26, 128);
/* oklch */ color: oklch(33.0% 0.157 286.2);
Tailwind
colors: {
  custom: {
    50: '#765aa6',
    500: '#351a80',
    950: '#000000',
  },
}
SCSS
$custom: #351a80;
$custom-light: #765aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#351a80",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 255.882,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33046,
    "c": 0.15739,
    "h": 286.2
  },
  "luminance": 0.03054
}

Semantic roles & 50–950 ramp

primary
#351A80
secondary
#96B442
accent
#E93FBC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351A80

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

Preview Lab → · Contrast checker → · Palette generator →

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