#351950#351950

#351950 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.098 H 304.3°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#351950
RGBrgb(53, 25, 80)
HSLhsl(271, 52%, 21%)
HSVhsv(271, 69%, 31%)
CMYKcmyk(33.7%, 68.8%, 0%, 68.6%)
CIE-LABlab(15.65, 26.09, -28.52)
CIE-LCHlch(15.65, 38.65, 312.45°)
OKLaboklab(28.41% 0.0551 -0.0808)
OKLCHoklch(28.41% 0.098 304.3)
XYZxyz(3.2635, 2.0313, 7.8080)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351950 #345019
analogous
#191950 #351950 #50194F
triadic
#351950 #503519 #195035
tetradic
#351950 #501919 #345019 #194F50
square
#351950 #501919 #345019 #194F50
split-complementary
#351950 #4F5019 #195019
monochromatic
#0F0717 #160A21 #351950 #54287F #7336AD

Accessibility & contrast

On white

14.93
#351950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#351950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351950
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351950#FFFFFF#000000##FFFFFF
##3519501.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#0A274F
Tritanopia (blue-blind)
#302531
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #351950;
/* rgb */ color: rgb(53, 25, 80);
/* oklch */ color: oklch(28.4% 0.098 304.3);
Tailwind
colors: {
  custom: {
    50: '#6f5781',
    500: '#351950',
    950: '#000000',
  },
}
SCSS
$custom: #351950;
$custom-light: #6f5781;
$custom-dark: #000000;
JSON
{
  "hex": "#351950",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 270.545,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28412,
    "c": 0.09779,
    "h": 304.3
  },
  "luminance": 0.02031
}

Semantic roles & 50–950 ramp

primary
#351950
secondary
#62863E
accent
#DC4C93
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #351950

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

Preview Lab → · Contrast checker → · Palette generator →

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