#351A90#351A90

#351A90 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.176 H 282.7°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#351A90
RGBrgb(53, 26, 144)
HSLhsl(254, 69%, 33%)
HSVhsv(254, 82%, 56%)
CMYKcmyk(63.2%, 81.9%, 0%, 43.5%)
CIE-LABlab(21.98, 44.59, -59.70)
CIE-LCHlch(21.98, 74.51, 306.75°)
OKLaboklab(34.75% 0.0388 -0.1722)
OKLCHoklch(34.75% 0.177 282.7)
XYZxyz(6.8701, 3.5088, 26.6954)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A90 #75901A
analogous
#1A3A90 #351A90 #701A90
triadic
#351A90 #90351A #1A9035
tetradic
#351A90 #901A3A #75901A #1A9070
square
#351A90 #901A3A #75901A #1A9070
split-complementary
#351A90 #90701A #3A901A
monochromatic
#0F0728 #22115C #351A90 #4823C4 #6947DE

Accessibility & contrast

On white

12.34
#351A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#351A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A90
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A90#FFFFFF#000000##FFFFFF
##351A901.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#003E56
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #351a90;
/* rgb */ color: rgb(53, 26, 144);
/* oklch */ color: oklch(34.8% 0.176 282.7);
Tailwind
colors: {
  custom: {
    50: '#795bb2',
    500: '#351a90',
    950: '#000000',
  },
}
SCSS
$custom: #351a90;
$custom-light: #795bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#351a90",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 253.729,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34754,
    "c": 0.1765,
    "h": 282.7
  },
  "luminance": 0.03509
}

Semantic roles & 50–950 ramp

primary
#351A90
secondary
#A4BF47
accent
#EC3CC4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351A90

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

Preview Lab → · Contrast checker → · Palette generator →

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