#351052#351052

#351052 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.3% C 0.114 H 305.5°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#351052
RGBrgb(53, 16, 82)
HSLhsl(274, 67%, 19%)
HSVhsv(274, 80%, 32%)
CMYKcmyk(35.4%, 80.5%, 0%, 67.8%)
CIE-LABlab(14.04, 31.57, -32.49)
CIE-LCHlch(14.04, 45.30, 314.17°)
OKLaboklab(27.31% 0.066 -0.0924)
OKLCHoklch(27.31% 0.114 305.5)
XYZxyz(3.1761, 1.7367, 8.1489)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351052 #2D5210
analogous
#141052 #351052 #52104E
triadic
#351052 #523510 #105235
tetradic
#351052 #521410 #2D5210 #104E52
square
#351052 #521410 #2D5210 #104E52
split-complementary
#351052 #4E5210 #105214
monochromatic
#11051A #14061F #351052 #561A85 #7724B8

Accessibility & contrast

On white

15.59
#351052 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351052
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351052#FFFFFF#000000##FFFFFF
##3510521.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#302030
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #351052;
/* rgb */ color: rgb(53, 16, 82);
/* oklch */ color: oklch(27.3% 0.114 305.5);
Tailwind
colors: {
  custom: {
    50: '#705283',
    500: '#351052',
    950: '#000000',
  },
}
SCSS
$custom: #351052;
$custom-light: #705283;
$custom-dark: #000000;
JSON
{
  "hex": "#351052",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 82
  },
  "hsl": {
    "h": 273.636,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27311,
    "c": 0.11357,
    "h": 305.5
  },
  "luminance": 0.01737
}

Semantic roles & 50–950 ramp

primary
#351052
secondary
#598C32
accent
#EA3E89
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #351052

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

Preview Lab → · Contrast checker → · Palette generator →

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