#351357#351357

#351357 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.1% C 0.116 H 302.2°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#351357
RGBrgb(53, 19, 87)
HSLhsl(270, 64%, 21%)
HSVhsv(270, 78%, 34%)
CMYKcmyk(39.1%, 78.2%, 0%, 65.9%)
CIE-LABlab(15.01, 31.42, -34.31)
CIE-LCHlch(15.01, 46.52, 312.48°)
OKLaboklab(28.14% 0.0616 -0.0978)
OKLCHoklch(28.14% 0.116 302.2)
XYZxyz(3.4210, 1.9107, 9.2036)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351357 #355713
analogous
#131357 #351357 #571357
triadic
#351357 #573513 #135735
tetradic
#351357 #571313 #355713 #135757
square
#351357 #571313 #355713 #135757
split-complementary
#351357 #575713 #135713
monochromatic
#0F0519 #160825 #351357 #541E89 #7229BB

Accessibility & contrast

On white

15.19
#351357 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351357
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351357#FFFFFF#000000##FFFFFF
##3513571.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002559
Deuteranopia (green-blind)
#002556
Tritanopia (blue-blind)
#2E2433
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #351357;
/* rgb */ color: rgb(53, 19, 87);
/* oklch */ color: oklch(28.1% 0.116 302.2);
Tailwind
colors: {
  custom: {
    50: '#705487',
    500: '#351357',
    950: '#000000',
  },
}
SCSS
$custom: #351357;
$custom-light: #705487;
$custom-dark: #000000;
JSON
{
  "hex": "#351357",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 87
  },
  "hsl": {
    "h": 270,
    "s": 64.151,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28136,
    "c": 0.11556,
    "h": 302.2
  },
  "luminance": 0.01911
}

Semantic roles & 50–950 ramp

primary
#351357
secondary
#638F36
accent
#E74194
background
#F7F5F8
surface
#EDE8EF
border
#C8C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351357

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

Preview Lab → · Contrast checker → · Palette generator →

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