#351C92#351C92

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

Color values

HEX#351C92
RGBrgb(53, 28, 146)
HSLhsl(253, 68%, 34%)
HSVhsv(253, 81%, 57%)
CMYKcmyk(63.7%, 80.8%, 0%, 42.7%)
CIE-LABlab(22.52, 44.24, -60.04)
CIE-LCHlch(22.52, 74.58, 306.38°)
OKLaboklab(35.2% 0.037 -0.1732)
OKLCHoklch(35.2% 0.177 282)
XYZxyz(7.0701, 3.6622, 27.5229)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C92 #79921C
analogous
#1C3E92 #351C92 #701C92
triadic
#351C92 #92351C #1C9235
tetradic
#351C92 #921C3E #79921C #1C9270
square
#351C92 #921C3E #79921C #1C9270
split-complementary
#351C92 #92701C #3E921C
monochromatic
#10082B #22125F #351C92 #4826C5 #6A4CDD

Accessibility & contrast

On white

12.12
#351C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#351C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C92
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C92#FFFFFF#000000##FFFFFF
##351C921.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #351c92;
/* rgb */ color: rgb(53, 28, 146);
/* oklch */ color: oklch(35.2% 0.177 282.0);
Tailwind
colors: {
  custom: {
    50: '#795db3',
    500: '#351c92',
    950: '#000000',
  },
}
SCSS
$custom: #351c92;
$custom-light: #795db3;
$custom-dark: #000000;
JSON
{
  "hex": "#351c92",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 146
  },
  "hsl": {
    "h": 252.712,
    "s": 67.816,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35197,
    "c": 0.1771,
    "h": 282
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#351C92
secondary
#A6BF4B
accent
#EB3DC6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351C92

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

Preview Lab → · Contrast checker → · Palette generator →

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