#351A99#351A99

#351A99 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.187 H 281.0°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#351A99
RGBrgb(53, 26, 153)
HSLhsl(253, 71%, 35%)
HSVhsv(253, 83%, 60%)
CMYKcmyk(65.4%, 83%, 0%, 40%)
CIE-LABlab(22.98, 47.25, -63.60)
CIE-LCHlch(22.98, 79.23, 306.61°)
OKLaboklab(35.75% 0.0358 -0.1835)
OKLCHoklch(35.75% 0.187 281)
XYZxyz(7.5855, 3.7950, 30.4636)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A99 #7E991A
analogous
#1A3E99 #351A99 #751A99
triadic
#351A99 #99351A #1A9935
tetradic
#351A99 #991A3E #7E991A #1A9975
square
#351A99 #991A3E #7E991A #1A9975
split-complementary
#351A99 #99751A #3E991A
monochromatic
#110830 #231165 #351A99 #4723CD #6C4DE1

Accessibility & contrast

On white

11.94
#351A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#351A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A99
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A99#FFFFFF#000000##FFFFFF
##351A991.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9C
Deuteranopia (green-blind)
#003297
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #351a99;
/* rgb */ color: rgb(53, 26, 153);
/* oklch */ color: oklch(35.7% 0.187 281.0);
Tailwind
colors: {
  custom: {
    50: '#7b5cb8',
    500: '#351a99',
    950: '#000000',
  },
}
SCSS
$custom: #351a99;
$custom-light: #7b5cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#351a99",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 153
  },
  "hsl": {
    "h": 252.756,
    "s": 70.95,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35746,
    "c": 0.187,
    "h": 281
  },
  "luminance": 0.03796
}

Semantic roles & 50–950 ramp

primary
#351A99
secondary
#AAC34C
accent
#EE3AC8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351A99

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

Preview Lab → · Contrast checker → · Palette generator →

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