#351957#351957

#351957 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.0% C 0.107 H 300.6°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#351957
RGBrgb(53, 25, 87)
HSLhsl(267, 55%, 22%)
HSVhsv(267, 71%, 34%)
CMYKcmyk(39.1%, 71.3%, 0%, 65.9%)
CIE-LABlab(16.21, 28.09, -32.37)
CIE-LCHlch(16.21, 42.86, 310.95°)
OKLaboklab(28.99% 0.0544 -0.0921)
OKLCHoklch(28.99% 0.107 300.6)
XYZxyz(3.5357, 2.1402, 9.2418)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351957 #3B5719
analogous
#191C57 #351957 #541957
triadic
#351957 #573519 #195735
tetradic
#351957 #57191C #3B5719 #195754
square
#351957 #57191C #3B5719 #195754
split-complementary
#351957 #575419 #1C5719
monochromatic
#0E0718 #180B27 #351957 #522787 #6F34B6

Accessibility & contrast

On white

14.71
#351957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#351957 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351957
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351957#FFFFFF#000000##FFFFFF
##3519571.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002859
Deuteranopia (green-blind)
#002856
Tritanopia (blue-blind)
#2E2735
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #351957;
/* rgb */ color: rgb(53, 25, 87);
/* oklch */ color: oklch(29.0% 0.107 300.6);
Tailwind
colors: {
  custom: {
    50: '#705887',
    500: '#351957',
    950: '#000000',
  },
}
SCSS
$custom: #351957;
$custom-light: #705887;
$custom-dark: #000000;
JSON
{
  "hex": "#351957",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 87
  },
  "hsl": {
    "h": 267.097,
    "s": 55.357,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2899,
    "c": 0.10698,
    "h": 300.6
  },
  "luminance": 0.0214
}

Semantic roles & 50–950 ramp

primary
#351957
secondary
#6A8D3E
accent
#DF499B
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351957

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

Preview Lab → · Contrast checker → · Palette generator →

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