#351F59#351F59

#351F59 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.1% C 0.100 H 297.5°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#351F59
RGBrgb(53, 31, 89)
HSLhsl(263, 48%, 24%)
HSVhsv(263, 65%, 35%)
CMYKcmyk(40.4%, 65.2%, 0%, 65.1%)
CIE-LABlab(17.73, 25.00, -31.25)
CIE-LCHlch(17.73, 40.02, 308.66°)
OKLaboklab(30.14% 0.0463 -0.0888)
OKLCHoklch(30.14% 0.1 297.5)
XYZxyz(3.7609, 2.4581, 9.7256)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351F59 #43591F
analogous
#1F2659 #351F59 #521F59
triadic
#351F59 #59351F #1F5935
tetradic
#351F59 #591F26 #43591F #1F5952
square
#351F59 #591F26 #43591F #1F5952
split-complementary
#351F59 #59521F #26591F
monochromatic
#0E0817 #1A0F2C #351F59 #502F86 #6B3FB4

Accessibility & contrast

On white

14.08
#351F59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#351F59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351F59
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351F59#FFFFFF#000000##FFFFFF
##351F591.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5B
Deuteranopia (green-blind)
#072B58
Tritanopia (blue-blind)
#2D2C38
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351f59;
/* rgb */ color: rgb(53, 31, 89);
/* oklch */ color: oklch(30.1% 0.100 297.5);
Tailwind
colors: {
  custom: {
    50: '#6f5c88',
    500: '#351f59',
    950: '#000000',
  },
}
SCSS
$custom: #351f59;
$custom-light: #6f5c88;
$custom-dark: #000000;
JSON
{
  "hex": "#351f59",
  "rgb": {
    "r": 53,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 262.759,
    "s": 48.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30142,
    "c": 0.10018,
    "h": 297.5
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#351F59
secondary
#738E46
accent
#D850A4
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040B
muted
#7B797C

Preview Lab

Preview with #351F59

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

Preview Lab → · Contrast checker → · Palette generator →

#351F59 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva