#35313F#35313F

#35313F is a dark, muted violet. Relative luminance 0.033; OKLCH L 32.3% C 0.025 H 298.1°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#35313F
RGBrgb(53, 49, 63)
HSLhsl(257, 13%, 22%)
HSVhsv(257, 22%, 25%)
CMYKcmyk(15.9%, 22.2%, 0%, 75.3%)
CIE-LABlab(21.25, 5.19, -8.14)
CIE-LCHlch(21.25, 9.65, 302.52°)
OKLaboklab(32.31% 0.0118 -0.0221)
OKLCHoklch(32.31% 0.025 298.1)
XYZxyz(3.4635, 3.3124, 5.1585)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35313F #3B3F31
analogous
#31343F #35313F #3C313F
triadic
#35313F #3F3531 #313F35
tetradic
#35313F #3F3134 #3B3F31 #313F3C
square
#35313F #3F3134 #3B3F31 #313F3C
split-complementary
#35313F #3F3C31 #343F31
monochromatic
#0E0D11 #18161D #35313F #524C61 #6F6784

Accessibility & contrast

On white

12.63
#35313F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#35313F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35313F
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35313F#FFFFFF#000000##FFFFFF
##35313F1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3340
Deuteranopia (green-blind)
#2F333F
Tritanopia (blue-blind)
#333336
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #35313f;
/* rgb */ color: rgb(53, 49, 63);
/* oklch */ color: oklch(32.3% 0.025 298.1);
Tailwind
colors: {
  custom: {
    50: '#6c6974',
    500: '#35313f',
    950: '#000000',
  },
}
SCSS
$custom: #35313f;
$custom-light: #6c6974;
$custom-dark: #000000;
JSON
{
  "hex": "#35313f",
  "rgb": {
    "r": 53,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 257.143,
    "s": 12.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32312,
    "c": 0.02507,
    "h": 298.1
  },
  "luminance": 0.03312
}

Semantic roles & 50–950 ramp

primary
#35313F
secondary
#6A6F5D
accent
#B572A2
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#070608
muted
#7A7A7B

Preview Lab

Preview with #35313F

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

Preview Lab → · Contrast checker → · Palette generator →

#35313F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva