#351A94#351A94

#351A94 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.2% C 0.181 H 281.9°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#351A94
RGBrgb(53, 26, 148)
HSLhsl(253, 70%, 34%)
HSVhsv(253, 82%, 58%)
CMYKcmyk(64.2%, 82.4%, 0%, 42%)
CIE-LABlab(22.42, 45.77, -61.45)
CIE-LCHlch(22.42, 76.62, 306.68°)
OKLaboklab(35.19% 0.0374 -0.1773)
OKLCHoklch(35.19% 0.181 281.9)
XYZxyz(7.1812, 3.6333, 28.3341)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A94 #79941A
analogous
#1A3C94 #351A94 #721A94
triadic
#351A94 #94351A #1A9435
tetradic
#351A94 #941A3C #79941A #1A9472
square
#351A94 #941A3C #79941A #1A9472
split-complementary
#351A94 #94721A #3C941A
monochromatic
#10082C #221160 #351A94 #4823C8 #6A49DF

Accessibility & contrast

On white

12.16
#351A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351A94
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A94#FFFFFF#000000##FFFFFF
##351A941.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003997
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #351a94;
/* rgb */ color: rgb(53, 26, 148);
/* oklch */ color: oklch(35.2% 0.181 281.9);
Tailwind
colors: {
  custom: {
    50: '#7a5cb5',
    500: '#351a94',
    950: '#000000',
  },
}
SCSS
$custom: #351a94;
$custom-light: #7a5cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#351a94",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 253.279,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35192,
    "c": 0.18118,
    "h": 281.9
  },
  "luminance": 0.03634
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #351A94

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

Preview Lab → · Contrast checker → · Palette generator →

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