#351352#351352

#351352 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.110 H 304.9°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#351352
RGBrgb(53, 19, 82)
HSLhsl(272, 62%, 20%)
HSVhsv(272, 77%, 32%)
CMYKcmyk(35.4%, 76.8%, 0%, 67.8%)
CIE-LABlab(14.58, 30.04, -31.62)
CIE-LCHlch(14.58, 43.62, 313.54°)
OKLaboklab(27.69% 0.0626 -0.0899)
OKLCHoklch(27.69% 0.11 304.9)
XYZxyz(3.2237, 1.8318, 8.1648)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351352 #305213
analogous
#161352 #351352 #521350
triadic
#351352 #523513 #135235
tetradic
#351352 #521613 #305213 #135052
square
#351352 #521613 #305213 #135052
split-complementary
#351352 #505213 #135216
monochromatic
#100619 #150720 #351352 #551F84 #752AB5

Accessibility & contrast

On white

15.37
#351352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#351352 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351352
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351352#FFFFFF#000000##FFFFFF
##3513521.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#302231
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #351352;
/* rgb */ color: rgb(53, 19, 82);
/* oklch */ color: oklch(27.7% 0.110 304.9);
Tailwind
colors: {
  custom: {
    50: '#6f5483',
    500: '#351352',
    950: '#000000',
  },
}
SCSS
$custom: #351352;
$custom-light: #6f5483;
$custom-dark: #000000;
JSON
{
  "hex": "#351352",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 272.381,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27693,
    "c": 0.10952,
    "h": 304.9
  },
  "luminance": 0.01832
}

Semantic roles & 50–950 ramp

primary
#351352
secondary
#5D8A36
accent
#E5428D
background
#F6F4F8
surface
#ECE8EF
border
#C7C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351352

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

Preview Lab → · Contrast checker → · Palette generator →

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