#351048#351048

#351048 is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.102 H 311.7°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#351048
RGBrgb(53, 16, 72)
HSLhsl(280, 64%, 17%)
HSVhsv(280, 78%, 28%)
CMYKcmyk(26.4%, 77.8%, 0%, 71.8%)
CIE-LABlab(13.20, 28.97, -26.96)
CIE-LCHlch(13.20, 39.58, 317.06°)
OKLaboklab(26.45% 0.0678 -0.0762)
OKLCHoklch(26.45% 0.102 311.7)
XYZxyz(2.8230, 1.5954, 6.2889)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351048 #234810
analogous
#191048 #351048 #48103F
triadic
#351048 #483510 #104835
tetradic
#351048 #481910 #234810 #103F48
square
#351048 #481910 #234810 #103F48
split-complementary
#351048 #3F4810 #104819
monochromatic
#120619 #120619 #351048 #5A1B7A #7F26AC

Accessibility & contrast

On white

15.92
#351048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#351048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351048
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351048#FFFFFF#000000##FFFFFF
##3510481.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#092347
Tritanopia (blue-blind)
#331C2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #351048;
/* rgb */ color: rgb(53, 16, 72);
/* oklch */ color: oklch(26.5% 0.102 311.7);
Tailwind
colors: {
  custom: {
    50: '#6f527b',
    500: '#351048',
    950: '#000000',
  },
}
SCSS
$custom: #351048;
$custom-light: #6f527b;
$custom-dark: #000000;
JSON
{
  "hex": "#351048",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 279.643,
    "s": 63.636,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26452,
    "c": 0.10198,
    "h": 311.7
  },
  "luminance": 0.01595
}

Semantic roles & 50–950 ramp

primary
#351048
secondary
#4D8232
accent
#E74179
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #351048

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

Preview Lab → · Contrast checker → · Palette generator →

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