#351A9C#351A9C

#351A9C is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.190 H 280.5°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#351A9C
RGBrgb(53, 26, 156)
HSLhsl(252, 71%, 36%)
HSVhsv(252, 83%, 61%)
CMYKcmyk(66%, 83.3%, 0%, 38.8%)
CIE-LABlab(23.32, 48.12, -64.88)
CIE-LCHlch(23.32, 80.78, 306.57°)
OKLaboklab(36.08% 0.0348 -0.1873)
OKLCHoklch(36.08% 0.19 280.5)
XYZxyz(7.8364, 3.8954, 31.7850)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A9C #819C1A
analogous
#1A409C #351A9C #761A9C
triadic
#351A9C #9C351A #1A9C35
tetradic
#351A9C #9C1A40 #819C1A #1A9C76
square
#351A9C #9C1A40 #819C1A #1A9C76
split-complementary
#351A9C #9C761A #409C1A
monochromatic
#110933 #231168 #351A9C #4723D0 #6D4FE2

Accessibility & contrast

On white

11.80
#351A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#351A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A9C
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A9C#FFFFFF#000000##FFFFFF
##351A9C1.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00435D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #351a9c;
/* rgb */ color: rgb(53, 26, 156);
/* oklch */ color: oklch(36.1% 0.190 280.5);
Tailwind
colors: {
  custom: {
    50: '#7c5cbb',
    500: '#351a9c',
    950: '#000000',
  },
}
SCSS
$custom: #351a9c;
$custom-light: #7c5cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#351a9c",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 156
  },
  "hsl": {
    "h": 252.462,
    "s": 71.429,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3608,
    "c": 0.19046,
    "h": 280.5
  },
  "luminance": 0.03896
}

Semantic roles & 50–950 ramp

primary
#351A9C
secondary
#ABC44E
accent
#EE3AC9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #351A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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