#351A95#351A95

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

Color values

HEX#351A95
RGBrgb(53, 26, 149)
HSLhsl(253, 70%, 34%)
HSVhsv(253, 83%, 58%)
CMYKcmyk(64.4%, 82.6%, 0%, 41.6%)
CIE-LABlab(22.53, 46.07, -61.88)
CIE-LCHlch(22.53, 77.14, 306.67°)
OKLaboklab(35.3% 0.0371 -0.1785)
OKLCHoklch(35.3% 0.182 281.7)
XYZxyz(7.2607, 3.6651, 28.7528)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A95 #7A951A
analogous
#1A3C95 #351A95 #731A95
triadic
#351A95 #95351A #1A9535
tetradic
#351A95 #951A3C #7A951A #1A9573
square
#351A95 #951A3C #7A951A #1A9573
split-complementary
#351A95 #95731A #3C951A
monochromatic
#10082D #221161 #351A95 #4823C9 #6B4ADF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##351A95#FFFFFF#000000##FFFFFF
##351A951.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)
#003A98
Deuteranopia (green-blind)
#003193
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #351a95;
/* rgb */ color: rgb(53, 26, 149);
/* oklch */ color: oklch(35.3% 0.182 281.7);
Tailwind
colors: {
  custom: {
    50: '#7a5cb5',
    500: '#351a95',
    950: '#000000',
  },
}
SCSS
$custom: #351a95;
$custom-light: #7a5cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#351a95",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 149
  },
  "hsl": {
    "h": 253.171,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35302,
    "c": 0.18235,
    "h": 281.7
  },
  "luminance": 0.03666
}

Semantic roles & 50–950 ramp

primary
#351A95
secondary
#A7C14A
accent
#ED3BC6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351A95

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

Preview Lab → · Contrast checker → · Palette generator →

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