#351A7C#351A7C

#351A7C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.153 H 287.2°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#351A7C
RGBrgb(53, 26, 124)
HSLhsl(257, 65%, 29%)
HSVhsv(257, 79%, 49%)
CMYKcmyk(57.3%, 79%, 0%, 51.4%)
CIE-LABlab(19.84, 38.59, -50.63)
CIE-LCHlch(19.84, 63.67, 307.31°)
OKLaboklab(32.63% 0.0451 -0.1457)
OKLCHoklch(32.63% 0.153 287.2)
XYZxyz(5.4746, 2.9506, 19.3459)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A7C #617C1A
analogous
#1A307C #351A7C #661A7C
triadic
#351A7C #7C351A #1A7C35
tetradic
#351A7C #7C1A30 #617C1A #1A7C66
square
#351A7C #7C1A30 #617C1A #1A7C66
split-complementary
#351A7C #7C661A #307C1A
monochromatic
#0B0519 #1F0F49 #351A7C #4B25AF #653BD6

Accessibility & contrast

On white

13.21
#351A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#351A7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A7C
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A7C#FFFFFF#000000##FFFFFF
##351A7C1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#16364A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351a7c;
/* rgb */ color: rgb(53, 26, 124);
/* oklch */ color: oklch(32.6% 0.153 287.2);
Tailwind
colors: {
  custom: {
    50: '#755aa3',
    500: '#351a7c',
    950: '#000000',
  },
}
SCSS
$custom: #351a7c;
$custom-light: #755aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#351a7c",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 124
  },
  "hsl": {
    "h": 256.531,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32632,
    "c": 0.15252,
    "h": 287.2
  },
  "luminance": 0.02951
}

Semantic roles & 50–950 ramp

primary
#351A7C
secondary
#92B042
accent
#E840BA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #351A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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