#351C90#351C90

#351C90 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.175 H 282.4°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#351C90
RGBrgb(53, 28, 144)
HSLhsl(253, 67%, 34%)
HSVhsv(253, 81%, 56%)
CMYKcmyk(63.2%, 80.6%, 0%, 43.5%)
CIE-LABlab(22.30, 43.64, -59.16)
CIE-LCHlch(22.30, 73.51, 306.41°)
OKLaboklab(34.98% 0.0376 -0.1706)
OKLCHoklch(34.98% 0.175 282.4)
XYZxyz(6.9159, 3.6005, 26.7107)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C90 #77901C
analogous
#1C3D90 #351C90 #6F1C90
triadic
#351C90 #90351C #1C9035
tetradic
#351C90 #901C3D #77901C #1C906F
square
#351C90 #901C3D #77901C #1C906F
split-complementary
#351C90 #906F1C #3D901C
monochromatic
#0F082A #22125D #351C90 #4826C3 #6A4ADC

Accessibility & contrast

On white

12.21
#351C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#351C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C90
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C90#FFFFFF#000000##FFFFFF
##351C901.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351c90;
/* rgb */ color: rgb(53, 28, 144);
/* oklch */ color: oklch(35.0% 0.175 282.4);
Tailwind
colors: {
  custom: {
    50: '#795cb2',
    500: '#351c90',
    950: '#000000',
  },
}
SCSS
$custom: #351c90;
$custom-light: #795cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#351c90",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 252.931,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34981,
    "c": 0.17472,
    "h": 282.4
  },
  "luminance": 0.03601
}

Semantic roles & 50–950 ramp

primary
#351C90
secondary
#A5BE4A
accent
#EA3DC5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351C90

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

Preview Lab → · Contrast checker → · Palette generator →

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