#351E90#351E90

#351E90 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.173 H 282.1°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#351E90
RGBrgb(53, 30, 144)
HSLhsl(252, 66%, 34%)
HSVhsv(252, 79%, 56%)
CMYKcmyk(63.2%, 79.2%, 0%, 43.5%)
CIE-LABlab(22.65, 42.64, -58.59)
CIE-LCHlch(22.65, 72.47, 306.05°)
OKLaboklab(35.22% 0.0364 -0.169)
OKLCHoklch(35.22% 0.173 282.1)
XYZxyz(6.9649, 3.6985, 26.7270)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E90 #79901E
analogous
#1E4090 #351E90 #6E1E90
triadic
#351E90 #90351E #1E9035
tetradic
#351E90 #901E40 #79901E #1E906E
square
#351E90 #901E40 #79901E #1E906E
split-complementary
#351E90 #906E1E #40901E
monochromatic
#10092B #22135D #351E90 #4829C3 #6A4EDA

Accessibility & contrast

On white

12.07
#351E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#351E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E90
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E90#FFFFFF#000000##FFFFFF
##351E901.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#003F56
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #351e90;
/* rgb */ color: rgb(53, 30, 144);
/* oklch */ color: oklch(35.2% 0.173 282.1);
Tailwind
colors: {
  custom: {
    50: '#795db2',
    500: '#351e90',
    950: '#000000',
  },
}
SCSS
$custom: #351e90;
$custom-light: #795db2;
$custom-dark: #000000;
JSON
{
  "hex": "#351e90",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 252.105,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35222,
    "c": 0.17287,
    "h": 282.1
  },
  "luminance": 0.03699
}

Semantic roles & 50–950 ramp

primary
#351E90
secondary
#A6BD4D
accent
#E83FC6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351E90

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

Preview Lab → · Contrast checker → · Palette generator →

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