#351C94#351C94

#351C94 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.4% C 0.179 H 281.7°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#351C94
RGBrgb(53, 28, 148)
HSLhsl(253, 68%, 35%)
HSVhsv(253, 81%, 58%)
CMYKcmyk(64.2%, 81.1%, 0%, 42%)
CIE-LABlab(22.74, 44.84, -60.92)
CIE-LCHlch(22.74, 75.64, 306.36°)
OKLaboklab(35.41% 0.0363 -0.1758)
OKLCHoklch(35.41% 0.179 281.7)
XYZxyz(7.2271, 3.7250, 28.3494)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C94 #7B941C
analogous
#1C3F94 #351C94 #711C94
triadic
#351C94 #94351C #1C9435
tetradic
#351C94 #941C3F #7B941C #1C9471
square
#351C94 #941C3F #7B941C #1C9471
split-complementary
#351C94 #94711C #3F941C
monochromatic
#10092D #231261 #351C94 #4726C7 #6B4DDD

Accessibility & contrast

On white

12.03
#351C94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#351C94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C94
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C94#FFFFFF#000000##FFFFFF
##351C941.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #351c94;
/* rgb */ color: rgb(53, 28, 148);
/* oklch */ color: oklch(35.4% 0.179 281.7);
Tailwind
colors: {
  custom: {
    50: '#7a5db5',
    500: '#351c94',
    950: '#000000',
  },
}
SCSS
$custom: #351c94;
$custom-light: #7a5db5;
$custom-dark: #000000;
JSON
{
  "hex": "#351c94",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 148
  },
  "hsl": {
    "h": 252.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35414,
    "c": 0.17948,
    "h": 281.7
  },
  "luminance": 0.03726
}

Semantic roles & 50–950 ramp

primary
#351C94
secondary
#A8C04C
accent
#EB3DC7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351C94

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

Preview Lab → · Contrast checker → · Palette generator →

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