#351548#351548

#351548 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.2% C 0.094 H 310.5°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#351548
RGBrgb(53, 21, 72)
HSLhsl(278, 55%, 18%)
HSVhsv(278, 71%, 28%)
CMYKcmyk(26.4%, 70.8%, 0%, 71.8%)
CIE-LABlab(14.18, 26.25, -25.39)
CIE-LCHlch(14.18, 36.52, 315.96°)
OKLaboklab(27.15% 0.0612 -0.0716)
OKLCHoklch(27.15% 0.094 310.5)
XYZxyz(2.9058, 1.7612, 6.3165)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351548 #284815
analogous
#1B1548 #351548 #481541
triadic
#351548 #483515 #154835
tetradic
#351548 #481B15 #284815 #154148
square
#351548 #481B15 #284815 #154148
split-complementary
#351548 #414815 #15481B
monochromatic
#110718 #120719 #351548 #582377 #7B31A7

Accessibility & contrast

On white

15.53
#351548 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#351548 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351548
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351548#FFFFFF#000000##FFFFFF
##3515481.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234A
Deuteranopia (green-blind)
#0F2547
Tritanopia (blue-blind)
#331F2C
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #351548;
/* rgb */ color: rgb(53, 21, 72);
/* oklch */ color: oklch(27.2% 0.094 310.5);
Tailwind
colors: {
  custom: {
    50: '#6e557b',
    500: '#351548',
    950: '#000000',
  },
}
SCSS
$custom: #351548;
$custom-light: #6e557b;
$custom-dark: #000000;
JSON
{
  "hex": "#351548",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 72
  },
  "hsl": {
    "h": 277.647,
    "s": 54.839,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27154,
    "c": 0.09415,
    "h": 310.5
  },
  "luminance": 0.01761
}

Semantic roles & 50–950 ramp

primary
#351548
secondary
#538039
accent
#DE4A81
background
#F6F5F7
surface
#ECE8EE
border
#C7C4C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #351548

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

Preview Lab → · Contrast checker → · Palette generator →

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