#351B90#351B90

#351B90 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.9% C 0.176 H 282.6°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#351B90
RGBrgb(53, 27, 144)
HSLhsl(253, 68%, 34%)
HSVhsv(253, 81%, 56%)
CMYKcmyk(63.2%, 81.3%, 0%, 43.5%)
CIE-LABlab(22.14, 44.12, -59.43)
CIE-LCHlch(22.14, 74.02, 306.59°)
OKLaboklab(34.87% 0.0382 -0.1714)
OKLCHoklch(34.87% 0.176 282.6)
XYZxyz(6.8926, 3.5539, 26.7029)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351B90 #76901B
analogous
#1B3B90 #351B90 #6F1B90
triadic
#351B90 #90351B #1B9035
tetradic
#351B90 #901B3B #76901B #1B906F
square
#351B90 #901B3B #76901B #1B906F
split-complementary
#351B90 #906F1B #3B901B
monochromatic
#0F0829 #22115C #351B90 #4825C4 #6A49DD

Accessibility & contrast

On white

12.27
#351B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#351B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351B90
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351B90#FFFFFF#000000##FFFFFF
##351B901.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#003E56
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #351b90;
/* rgb */ color: rgb(53, 27, 144);
/* oklch */ color: oklch(34.9% 0.176 282.6);
Tailwind
colors: {
  custom: {
    50: '#795cb2',
    500: '#351b90',
    950: '#000000',
  },
}
SCSS
$custom: #351b90;
$custom-light: #795cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#351b90",
  "rgb": {
    "r": 53,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 253.333,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34866,
    "c": 0.17562,
    "h": 282.6
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#351B90
secondary
#A4BF48
accent
#EB3DC4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351B90

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

Preview Lab → · Contrast checker → · Palette generator →

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