#351D88#351D88

#351D88 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.164 H 283.9°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#351D88
RGBrgb(53, 29, 136)
HSLhsl(253, 65%, 32%)
HSVhsv(253, 79%, 53%)
CMYKcmyk(61%, 78.7%, 0%, 46.7%)
CIE-LABlab(21.63, 40.70, -55.28)
CIE-LCHlch(21.63, 68.65, 306.36°)
OKLaboklab(34.25% 0.0393 -0.1593)
OKLCHoklch(34.25% 0.164 283.9)
XYZxyz(6.3501, 3.4128, 23.6119)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351D88 #70881D
analogous
#1D3B88 #351D88 #6B1D88
triadic
#351D88 #88351D #1D8835
tetradic
#351D88 #881D3B #70881D #1D886B
square
#351D88 #881D3B #70881D #1D886B
split-complementary
#351D88 #886B1D #3B881D
monochromatic
#0E0723 #211256 #351D88 #4928BA #6848D8

Accessibility & contrast

On white

12.48
#351D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#351D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351D88
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351D88#FFFFFF#000000##FFFFFF
##351D881.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#003086
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #351d88;
/* rgb */ color: rgb(53, 29, 136);
/* oklch */ color: oklch(34.3% 0.164 283.9);
Tailwind
colors: {
  custom: {
    50: '#775cac',
    500: '#351d88',
    950: '#000000',
  },
}
SCSS
$custom: #351d88;
$custom-light: #775cac;
$custom-dark: #000000;
JSON
{
  "hex": "#351d88",
  "rgb": {
    "r": 53,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 253.458,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34254,
    "c": 0.16412,
    "h": 283.9
  },
  "luminance": 0.03413
}

Semantic roles & 50–950 ramp

primary
#351D88
secondary
#A0BA47
accent
#E840C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351D88

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

Preview Lab → · Contrast checker → · Palette generator →

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