#351C72#351C72

#351C72 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.138 H 289.5°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#351C72
RGBrgb(53, 28, 114)
HSLhsl(257, 61%, 28%)
HSVhsv(257, 75%, 45%)
CMYKcmyk(53.5%, 75.4%, 0%, 55.3%)
CIE-LABlab(19.23, 34.47, -45.23)
CIE-LCHlch(19.23, 56.87, 307.32°)
OKLaboklab(31.9% 0.046 -0.1299)
OKLCHoklch(31.9% 0.138 289.5)
XYZxyz(4.9198, 2.8021, 16.1979)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351C72 #59721C
analogous
#1C2E72 #351C72 #601C72
triadic
#351C72 #72351C #1C7235
tetradic
#351C72 #721C2E #59721C #1C7260
square
#351C72 #721C2E #59721C #1C7260
split-complementary
#351C72 #72601C #2E721C
monochromatic
#0B0619 #1E1041 #351C72 #4C28A3 #653ACF

Accessibility & contrast

On white

13.46
#351C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#351C72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351C72
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351C72#FFFFFF#000000##FFFFFF
##351C721.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#1F3345
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #351c72;
/* rgb */ color: rgb(53, 28, 114);
/* oklch */ color: oklch(31.9% 0.138 289.5);
Tailwind
colors: {
  custom: {
    50: '#735b9b',
    500: '#351c72',
    950: '#000000',
  },
}
SCSS
$custom: #351c72;
$custom-light: #735b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#351c72",
  "rgb": {
    "r": 53,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 257.442,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31899,
    "c": 0.1378,
    "h": 289.5
  },
  "luminance": 0.02802
}

Semantic roles & 50–950 ramp

primary
#351C72
secondary
#8AA643
accent
#E444B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351C72

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

Preview Lab → · Contrast checker → · Palette generator →

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