#351E89#351E89

#351E89 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.164 H 283.5°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#351E89
RGBrgb(53, 30, 137)
HSLhsl(253, 64%, 33%)
HSVhsv(253, 78%, 54%)
CMYKcmyk(61.3%, 78.1%, 0%, 46.3%)
CIE-LABlab(21.91, 40.49, -55.44)
CIE-LCHlch(21.91, 68.65, 306.14°)
OKLaboklab(34.49% 0.0384 -0.1598)
OKLCHoklch(34.49% 0.164 283.5)
XYZxyz(6.4464, 3.4911, 23.9962)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E89 #72891E
analogous
#1E3D89 #351E89 #6A1E89
triadic
#351E89 #89351E #1E8935
tetradic
#351E89 #891E3D #72891E #1E896A
square
#351E89 #891E3D #72891E #1E896A
split-complementary
#351E89 #896A1E #3D891E
monochromatic
#0E0825 #221357 #351E89 #4829BB #684AD7

Accessibility & contrast

On white

12.36
#351E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#351E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E89
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E89#FFFFFF#000000##FFFFFF
##351E891.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #351e89;
/* rgb */ color: rgb(53, 30, 137);
/* oklch */ color: oklch(34.5% 0.164 283.5);
Tailwind
colors: {
  custom: {
    50: '#775dac',
    500: '#351e89',
    950: '#000000',
  },
}
SCSS
$custom: #351e89;
$custom-light: #775dac;
$custom-dark: #000000;
JSON
{
  "hex": "#351e89",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 137
  },
  "hsl": {
    "h": 252.897,
    "s": 64.072,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34486,
    "c": 0.16435,
    "h": 283.5
  },
  "luminance": 0.03492
}

Semantic roles & 50–950 ramp

primary
#351E89
secondary
#A2BA49
accent
#E741C3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351E89

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

Preview Lab → · Contrast checker → · Palette generator →

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