#351051#351051

#351051 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.2% C 0.112 H 306.1°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#351051
RGBrgb(53, 16, 81)
HSLhsl(274, 67%, 19%)
HSVhsv(274, 80%, 32%)
CMYKcmyk(34.6%, 80.2%, 0%, 68.2%)
CIE-LABlab(13.95, 31.30, -31.95)
CIE-LCHlch(13.95, 44.73, 314.41°)
OKLaboklab(27.22% 0.0662 -0.0908)
OKLCHoklch(27.22% 0.112 306.1)
XYZxyz(3.1384, 1.7216, 7.9500)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351051 #2C5110
analogous
#151051 #351051 #51104D
triadic
#351051 #513510 #105135
tetradic
#351051 #511510 #2C5110 #104D51
square
#351051 #511510 #2C5110 #104D51
split-complementary
#351051 #4D5110 #105115
monochromatic
#11051A #14061E #351051 #561A84 #7824B7

Accessibility & contrast

On white

15.62
#351051 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#351051 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351051
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351051#FFFFFF#000000##FFFFFF
##3510511.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002253
Deuteranopia (green-blind)
#002450
Tritanopia (blue-blind)
#30202F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #351051;
/* rgb */ color: rgb(53, 16, 81);
/* oklch */ color: oklch(27.2% 0.112 306.1);
Tailwind
colors: {
  custom: {
    50: '#705282',
    500: '#351051',
    950: '#000000',
  },
}
SCSS
$custom: #351051;
$custom-light: #705282;
$custom-dark: #000000;
JSON
{
  "hex": "#351051",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 81
  },
  "hsl": {
    "h": 274.154,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27222,
    "c": 0.11241,
    "h": 306.1
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#351051
secondary
#588B32
accent
#EA3E88
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #351051

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

Preview Lab → · Contrast checker → · Palette generator →

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