#351A8D#351A8D

#351A8D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.173 H 283.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#351A8D
RGBrgb(53, 26, 141)
HSLhsl(254, 69%, 33%)
HSVhsv(254, 82%, 55%)
CMYKcmyk(62.4%, 81.6%, 0%, 44.7%)
CIE-LABlab(21.65, 43.70, -58.38)
CIE-LCHlch(21.65, 72.92, 306.82°)
OKLaboklab(34.43% 0.0397 -0.1683)
OKLCHoklch(34.43% 0.173 283.3)
XYZxyz(6.6438, 3.4183, 25.5038)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A8D #728D1A
analogous
#1A388D #351A8D #6E1A8D
triadic
#351A8D #8D351A #1A8D35
tetradic
#351A8D #8D1A38 #728D1A #1A8D6E
square
#351A8D #8D1A38 #728D1A #1A8D6E
split-complementary
#351A8D #8D6E1A #388D1A
monochromatic
#0E0726 #221059 #351A8D #4824C1 #6845DD

Accessibility & contrast

On white

12.47
#351A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#351A8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A8D
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A8D#FFFFFF#000000##FFFFFF
##351A8D1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #351a8d;
/* rgb */ color: rgb(53, 26, 141);
/* oklch */ color: oklch(34.4% 0.173 283.3);
Tailwind
colors: {
  custom: {
    50: '#795bb0',
    500: '#351a8d',
    950: '#000000',
  },
}
SCSS
$custom: #351a8d;
$custom-light: #795bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#351a8d",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 254.087,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34428,
    "c": 0.17296,
    "h": 283.3
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#351A8D
secondary
#A2BE45
accent
#EC3CC2
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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