#351552#351552

#351552 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.107 H 304.3°. Best body text is #FFFFFF at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#351552
RGBrgb(53, 21, 82)
HSLhsl(271, 59%, 20%)
HSVhsv(271, 74%, 32%)
CMYKcmyk(35.4%, 74.4%, 0%, 67.8%)
CIE-LABlab(14.97, 28.96, -30.99)
CIE-LCHlch(14.97, 42.41, 313.06°)
OKLaboklab(27.97% 0.0602 -0.088)
OKLCHoklch(27.97% 0.107 304.3)
XYZxyz(3.2590, 1.9024, 8.1765)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351552 #325215
analogous
#161552 #351552 #521550
triadic
#351552 #523515 #155235
tetradic
#351552 #521615 #325215 #155052
square
#351552 #521615 #325215 #155052
split-complementary
#351552 #505215 #155216
monochromatic
#100618 #160921 #351552 #542183 #742EB3

Accessibility & contrast

On white

15.21
#351552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#351552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351552
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351552#FFFFFF#000000##FFFFFF
##3515521.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002554
Deuteranopia (green-blind)
#012651
Tritanopia (blue-blind)
#302331
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #351552;
/* rgb */ color: rgb(53, 21, 82);
/* oklch */ color: oklch(28.0% 0.107 304.3);
Tailwind
colors: {
  custom: {
    50: '#6f5583',
    500: '#351552',
    950: '#000000',
  },
}
SCSS
$custom: #351552;
$custom-light: #6f5583;
$custom-dark: #000000;
JSON
{
  "hex": "#351552",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 82
  },
  "hsl": {
    "h": 271.475,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.2797,
    "c": 0.10662,
    "h": 304.3
  },
  "luminance": 0.01902
}

Semantic roles & 50–950 ramp

primary
#351552
secondary
#5F8A39
accent
#E24590
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351552

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

Preview Lab → · Contrast checker → · Palette generator →

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