#351E95#351E95

#351E95 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.179 H 281.2°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#351E95
RGBrgb(53, 30, 149)
HSLhsl(252, 66%, 35%)
HSVhsv(252, 80%, 58%)
CMYKcmyk(64.4%, 79.9%, 0%, 41.6%)
CIE-LABlab(23.19, 44.17, -60.80)
CIE-LCHlch(23.19, 75.15, 306.00°)
OKLaboklab(35.76% 0.0349 -0.1754)
OKLCHoklch(35.76% 0.179 281.2)
XYZxyz(7.3556, 3.8548, 28.7844)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351E95 #7E951E
analogous
#1E4295 #351E95 #711E95
triadic
#351E95 #95351E #1E9535
tetradic
#351E95 #951E42 #7E951E #1E9571
square
#351E95 #951E42 #7E951E #1E9571
split-complementary
#351E95 #95711E #42951E
monochromatic
#11092F #231462 #351E95 #4728C8 #6C51DC

Accessibility & contrast

On white

11.86
#351E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#351E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351E95
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351E95#FFFFFF#000000##FFFFFF
##351E951.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351e95;
/* rgb */ color: rgb(53, 30, 149);
/* oklch */ color: oklch(35.8% 0.179 281.2);
Tailwind
colors: {
  custom: {
    50: '#7a5eb5',
    500: '#351e95',
    950: '#000000',
  },
}
SCSS
$custom: #351e95;
$custom-light: #7a5eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#351e95",
  "rgb": {
    "r": 53,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 251.597,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35756,
    "c": 0.17887,
    "h": 281.2
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#351E95
secondary
#AABF50
accent
#E93EC8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351E95

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

Preview Lab → · Contrast checker → · Palette generator →

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