#351A88#351A88

#351A88 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.167 H 284.3°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#351A88
RGBrgb(53, 26, 136)
HSLhsl(255, 68%, 32%)
HSVhsv(255, 81%, 53%)
CMYKcmyk(61%, 80.9%, 0%, 46.7%)
CIE-LABlab(21.10, 42.20, -56.14)
CIE-LCHlch(21.10, 70.24, 306.93°)
OKLaboklab(33.89% 0.0414 -0.1618)
OKLCHoklch(33.89% 0.167 284.3)
XYZxyz(6.2802, 3.2728, 23.5886)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A88 #6D881A
analogous
#1A3688 #351A88 #6C1A88
triadic
#351A88 #88351A #1A8835
tetradic
#351A88 #881A36 #6D881A #1A886C
square
#351A88 #881A36 #6D881A #1A886C
split-complementary
#351A88 #886C1A #36881A
monochromatic
#0D0621 #211055 #351A88 #4924BB #6742DB

Accessibility & contrast

On white

12.69
#351A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#351A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A88
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A88#FFFFFF#000000##FFFFFF
##351A881.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002F86
Tritanopia (blue-blind)
#003B51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #351a88;
/* rgb */ color: rgb(53, 26, 136);
/* oklch */ color: oklch(33.9% 0.167 284.3);
Tailwind
colors: {
  custom: {
    50: '#785bac',
    500: '#351a88',
    950: '#000000',
  },
}
SCSS
$custom: #351a88;
$custom-light: #785bac;
$custom-dark: #000000;
JSON
{
  "hex": "#351a88",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 136
  },
  "hsl": {
    "h": 254.727,
    "s": 67.901,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3389,
    "c": 0.16702,
    "h": 284.3
  },
  "luminance": 0.03273
}

Semantic roles & 50–950 ramp

primary
#351A88
secondary
#9EBB43
accent
#EB3DC0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351A88

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

Preview Lab → · Contrast checker → · Palette generator →

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