#351C95#351C95

#351C95 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.5% C 0.181 H 281.5°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#351C95
RGBrgb(53, 28, 149)
HSLhsl(252, 68%, 35%)
HSVhsv(252, 81%, 58%)
CMYKcmyk(64.4%, 81.2%, 0%, 41.6%)
CIE-LABlab(22.85, 45.14, -61.35)
CIE-LCHlch(22.85, 76.17, 306.34°)
OKLaboklab(35.52% 0.036 -0.177)
OKLCHoklch(35.52% 0.181 281.5)
XYZxyz(7.3066, 3.7568, 28.7680)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C95 #7C951C
analogous
#1C3F95 #351C95 #721C95
triadic
#351C95 #95351C #1C9535
tetradic
#351C95 #951C3F #7C951C #1C9572
square
#351C95 #951C3F #7C951C #1C9572
split-complementary
#351C95 #95721C #3F951C
monochromatic
#10092E #231261 #351C95 #4726C9 #6B4EDE

Accessibility & contrast

On white

11.99
#351C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351C95
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C95#FFFFFF#000000##FFFFFF
##351C951.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#004159
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #351c95;
/* rgb */ color: rgb(53, 28, 149);
/* oklch */ color: oklch(35.5% 0.181 281.5);
Tailwind
colors: {
  custom: {
    50: '#7a5db5',
    500: '#351c95',
    950: '#000000',
  },
}
SCSS
$custom: #351c95;
$custom-light: #7a5db5;
$custom-dark: #000000;
JSON
{
  "hex": "#351c95",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 149
  },
  "hsl": {
    "h": 252.397,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35523,
    "c": 0.18066,
    "h": 281.5
  },
  "luminance": 0.03757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #351C95

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

Preview Lab → · Contrast checker → · Palette generator →

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