#351C8C#351C8C

#351C8C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.170 H 283.2°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#351C8C
RGBrgb(53, 28, 140)
HSLhsl(253, 67%, 33%)
HSVhsv(253, 80%, 55%)
CMYKcmyk(62.1%, 80%, 0%, 45.1%)
CIE-LABlab(21.87, 42.43, -57.38)
CIE-LCHlch(21.87, 71.36, 306.48°)
OKLaboklab(34.55% 0.0388 -0.1655)
OKLCHoklch(34.55% 0.17 283.2)
XYZxyz(6.6156, 3.4804, 25.1290)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C8C #738C1C
analogous
#1C3B8C #351C8C #6D1C8C
triadic
#351C8C #8C351C #1C8C35
tetradic
#351C8C #8C1C3B #738C1C #1C8C6D
square
#351C8C #8C1C3B #738C1C #1C8C6D
split-complementary
#351C8C #8C6D1C #3B8C1C
monochromatic
#0E0826 #221259 #351C8C #4826BF #6948DA

Accessibility & contrast

On white

12.38
#351C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351C8C
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C8C#FFFFFF#000000##FFFFFF
##351C8C1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388F
Deuteranopia (green-blind)
#00318A
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #351c8c;
/* rgb */ color: rgb(53, 28, 140);
/* oklch */ color: oklch(34.6% 0.170 283.2);
Tailwind
colors: {
  custom: {
    50: '#785caf',
    500: '#351c8c',
    950: '#000000',
  },
}
SCSS
$custom: #351c8c;
$custom-light: #785caf;
$custom-dark: #000000;
JSON
{
  "hex": "#351c8c",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 253.393,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34553,
    "c": 0.16994,
    "h": 283.2
  },
  "luminance": 0.03481
}

Semantic roles & 50–950 ramp

primary
#351C8C
secondary
#A2BC48
accent
#EA3EC3
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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