#351A9A#351A9A

#351A9A is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.188 H 280.9°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#351A9A
RGBrgb(53, 26, 154)
HSLhsl(253, 71%, 35%)
HSVhsv(253, 83%, 60%)
CMYKcmyk(65.6%, 83.1%, 0%, 39.6%)
CIE-LABlab(23.10, 47.54, -64.03)
CIE-LCHlch(23.10, 79.75, 306.59°)
OKLaboklab(35.86% 0.0355 -0.1848)
OKLCHoklch(35.86% 0.188 280.9)
XYZxyz(7.6685, 3.8282, 30.9004)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A9A #7F9A1A
analogous
#1A3F9A #351A9A #751A9A
triadic
#351A9A #9A351A #1A9A35
tetradic
#351A9A #9A1A3F #7F9A1A #1A9A75
square
#351A9A #9A1A3F #7F9A1A #1A9A75
split-complementary
#351A9A #9A751A #3F9A1A
monochromatic
#110831 #231166 #351A9A #4723CE #6D4DE1

Accessibility & contrast

On white

11.89
#351A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351A9A
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A9A#FFFFFF#000000##FFFFFF
##351A9A1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351a9a;
/* rgb */ color: rgb(53, 26, 154);
/* oklch */ color: oklch(35.9% 0.188 280.9);
Tailwind
colors: {
  custom: {
    50: '#7b5cb9',
    500: '#351a9a',
    950: '#000000',
  },
}
SCSS
$custom: #351a9a;
$custom-light: #7b5cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#351a9a",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 154
  },
  "hsl": {
    "h": 252.656,
    "s": 71.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35857,
    "c": 0.18815,
    "h": 280.9
  },
  "luminance": 0.03829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #351A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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