#351348#351348

#351348 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.097 H 311.0°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#351348
RGBrgb(53, 19, 72)
HSLhsl(278, 58%, 18%)
HSVhsv(278, 74%, 28%)
CMYKcmyk(26.4%, 73.6%, 0%, 71.8%)
CIE-LABlab(13.77, 27.38, -26.04)
CIE-LCHlch(13.77, 37.79, 316.43°)
OKLaboklab(26.86% 0.0639 -0.0735)
OKLCHoklch(26.86% 0.097 311)
XYZxyz(2.8705, 1.6906, 6.3047)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351348 #264813
analogous
#1B1348 #351348 #481340
triadic
#351348 #483513 #134835
tetradic
#351348 #481B13 #264813 #134048
square
#351348 #481B13 #264813 #134048
split-complementary
#351348 #404813 #13481B
monochromatic
#120618 #120618 #351348 #592078 #7C2DA9

Accessibility & contrast

On white

15.69
#351348 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#351348 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351348
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351348#FFFFFF#000000##FFFFFF
##3513481.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224A
Deuteranopia (green-blind)
#0D2447
Tritanopia (blue-blind)
#331E2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #351348;
/* rgb */ color: rgb(53, 19, 72);
/* oklch */ color: oklch(26.9% 0.097 311.0);
Tailwind
colors: {
  custom: {
    50: '#6f537b',
    500: '#351348',
    950: '#000000',
  },
}
SCSS
$custom: #351348;
$custom-light: #6f537b;
$custom-dark: #000000;
JSON
{
  "hex": "#351348",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 72
  },
  "hsl": {
    "h": 278.491,
    "s": 58.242,
    "l": 17.843
  },
  "oklch": {
    "l": 0.2686,
    "c": 0.09741,
    "h": 311
  },
  "luminance": 0.01691
}

Semantic roles & 50–950 ramp

primary
#351348
secondary
#518136
accent
#E1467E
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #351348

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

Preview Lab → · Contrast checker → · Palette generator →

#351348 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva