#351752#351752

#351752 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.104 H 303.8°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#351752
RGBrgb(53, 23, 82)
HSLhsl(271, 56%, 21%)
HSVhsv(271, 72%, 32%)
CMYKcmyk(35.4%, 72%, 0%, 67.8%)
CIE-LABlab(15.38, 27.83, -30.33)
CIE-LCHlch(15.38, 41.16, 312.54°)
OKLaboklab(28.26% 0.0576 -0.0861)
OKLCHoklch(28.26% 0.104 303.8)
XYZxyz(3.2972, 1.9789, 8.1893)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351752 #345217
analogous
#171752 #351752 #521751
triadic
#351752 #523517 #175235
tetradic
#351752 #521717 #345217 #175152
square
#351752 #521717 #345217 #175152
split-complementary
#351752 #515217 #175217
monochromatic
#0F0718 #160A22 #351752 #542482 #7332B2

Accessibility & contrast

On white

15.05
#351752 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#351752 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351752
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351752#FFFFFF#000000##FFFFFF
##3517521.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002654
Deuteranopia (green-blind)
#042651
Tritanopia (blue-blind)
#2F2432
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #351752;
/* rgb */ color: rgb(53, 23, 82);
/* oklch */ color: oklch(28.3% 0.104 303.8);
Tailwind
colors: {
  custom: {
    50: '#6f5683',
    500: '#351752',
    950: '#000000',
  },
}
SCSS
$custom: #351752;
$custom-light: #6f5683;
$custom-dark: #000000;
JSON
{
  "hex": "#351752",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 82
  },
  "hsl": {
    "h": 270.508,
    "s": 56.19,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28264,
    "c": 0.10358,
    "h": 303.8
  },
  "luminance": 0.01979
}

Semantic roles & 50–950 ramp

primary
#351752
secondary
#62893C
accent
#DF4893
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030A
muted
#7B787C

Preview Lab

Preview with #351752

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

Preview Lab → · Contrast checker → · Palette generator →

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