#351C8D#351C8D

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

Color values

HEX#351C8D
RGBrgb(53, 28, 141)
HSLhsl(253, 67%, 33%)
HSVhsv(253, 80%, 55%)
CMYKcmyk(62.4%, 80.1%, 0%, 44.7%)
CIE-LABlab(21.98, 42.73, -57.83)
CIE-LCHlch(21.98, 71.90, 306.46°)
OKLaboklab(34.66% 0.0385 -0.1667)
OKLCHoklch(34.66% 0.171 283)
XYZxyz(6.6897, 3.5100, 25.5191)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C8D #748D1C
analogous
#1C3C8D #351C8D #6D1C8D
triadic
#351C8D #8D351C #1C8D35
tetradic
#351C8D #8D1C3C #748D1C #1C8D6D
square
#351C8D #8D1C3C #748D1C #1C8D6D
split-complementary
#351C8D #8D6D1C #3C8D1C
monochromatic
#0F0827 #22125A #351C8D #4826C0 #6949DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##351C8D#FFFFFF#000000##FFFFFF
##351C8D1.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)
#003890
Deuteranopia (green-blind)
#00318B
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #351c8d;
/* rgb */ color: rgb(53, 28, 141);
/* oklch */ color: oklch(34.7% 0.171 283.0);
Tailwind
colors: {
  custom: {
    50: '#785caf',
    500: '#351c8d',
    950: '#000000',
  },
}
SCSS
$custom: #351c8d;
$custom-light: #785caf;
$custom-dark: #000000;
JSON
{
  "hex": "#351c8d",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 253.274,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.3466,
    "c": 0.17114,
    "h": 283
  },
  "luminance": 0.0351
}

Semantic roles & 50–950 ramp

primary
#351C8D
secondary
#A3BD48
accent
#EA3EC4
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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