#351457#351457

#351457 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.3% C 0.114 H 302.0°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#351457
RGBrgb(53, 20, 87)
HSLhsl(270, 63%, 21%)
HSVhsv(270, 77%, 34%)
CMYKcmyk(39.1%, 77%, 0%, 65.9%)
CIE-LABlab(15.20, 30.89, -34.00)
CIE-LCHlch(15.20, 45.94, 312.25°)
OKLaboklab(28.27% 0.0605 -0.0969)
OKLCHoklch(28.27% 0.114 302)
XYZxyz(3.4382, 1.9453, 9.2093)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351457 #365714
analogous
#141457 #351457 #561457
triadic
#351457 #573514 #145735
tetradic
#351457 #571414 #365714 #145756
square
#351457 #571414 #365714 #145756
split-complementary
#351457 #575614 #145714
monochromatic
#0F0619 #170925 #351457 #531F89 #722BBB

Accessibility & contrast

On white

15.12
#351457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#351457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351457
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351457#FFFFFF#000000##FFFFFF
##3514571.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002659
Deuteranopia (green-blind)
#002656
Tritanopia (blue-blind)
#2E2434
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #351457;
/* rgb */ color: rgb(53, 20, 87);
/* oklch */ color: oklch(28.3% 0.114 302.0);
Tailwind
colors: {
  custom: {
    50: '#705587',
    500: '#351457',
    950: '#000000',
  },
}
SCSS
$custom: #351457;
$custom-light: #705587;
$custom-dark: #000000;
JSON
{
  "hex": "#351457",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 87
  },
  "hsl": {
    "h": 269.552,
    "s": 62.617,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28268,
    "c": 0.11421,
    "h": 302
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#351457
secondary
#648F38
accent
#E64295
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351457

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

Preview Lab → · Contrast checker → · Palette generator →

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