#351057#351057

#351057 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.8% C 0.119 H 302.9°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#351057
RGBrgb(53, 16, 87)
HSLhsl(271, 69%, 20%)
HSVhsv(271, 82%, 34%)
CMYKcmyk(39.1%, 81.6%, 0%, 65.9%)
CIE-LABlab(14.49, 32.90, -35.16)
CIE-LCHlch(14.49, 48.15, 313.10°)
OKLaboklab(27.77% 0.0648 -0.1003)
OKLCHoklch(27.77% 0.119 302.9)
XYZxyz(3.3734, 1.8156, 9.1877)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351057 #325710
analogous
#121057 #351057 #571055
triadic
#351057 #573510 #105735
tetradic
#351057 #571210 #325710 #105557
square
#351057 #571210 #325710 #105557
split-complementary
#351057 #555710 #105712
monochromatic
#10051A #160623 #351057 #541A8B #7423BE

Accessibility & contrast

On white

15.40
#351057 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#351057 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351057
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351057#FFFFFF#000000##FFFFFF
##3510571.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002459
Deuteranopia (green-blind)
#002456
Tritanopia (blue-blind)
#2E2233
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #351057;
/* rgb */ color: rgb(53, 16, 87);
/* oklch */ color: oklch(27.8% 0.119 302.9);
Tailwind
colors: {
  custom: {
    50: '#705387',
    500: '#351057',
    950: '#000000',
  },
}
SCSS
$custom: #351057;
$custom-light: #705387;
$custom-dark: #000000;
JSON
{
  "hex": "#351057",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 87
  },
  "hsl": {
    "h": 271.268,
    "s": 68.932,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27767,
    "c": 0.11937,
    "h": 302.9
  },
  "luminance": 0.01816
}

Semantic roles & 50–950 ramp

primary
#351057
secondary
#5F9032
accent
#EC3C90
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #351057

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

Preview Lab → · Contrast checker → · Palette generator →

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