#35164D#35164D

#35164D is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.7% C 0.099 H 307.0°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).

Color values

HEX#35164D
RGBrgb(53, 22, 77)
HSLhsl(274, 56%, 19%)
HSVhsv(274, 71%, 30%)
CMYKcmyk(31.2%, 71.4%, 0%, 69.8%)
CIE-LABlab(14.77, 27.02, -27.89)
CIE-LCHlch(14.77, 38.83, 314.10°)
OKLaboklab(27.7% 0.0594 -0.0789)
OKLCHoklch(27.7% 0.099 307)
XYZxyz(3.0944, 1.8666, 7.2170)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35164D #2E4D16
analogous
#19164D #35164D #4D164A
triadic
#35164D #4D3516 #164D35
tetradic
#35164D #4D1916 #2E4D16 #164A4D
square
#35164D #4D1916 #2E4D16 #164A4D
split-complementary
#35164D #4A4D16 #164D19
monochromatic
#100718 #14081D #35164D #56247D #7731AC

Accessibility & contrast

On white

15.29
#35164D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#35164D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35164D
15.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35164D#FFFFFF#000000##FFFFFF
##35164D1.0015.291.3715.29
#FFFFFF15.291.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#0A254C
Tritanopia (blue-blind)
#31222F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #35164d;
/* rgb */ color: rgb(53, 22, 77);
/* oklch */ color: oklch(27.7% 0.099 307.0);
Tailwind
colors: {
  custom: {
    50: '#6f557f',
    500: '#35164d',
    950: '#000000',
  },
}
SCSS
$custom: #35164d;
$custom-light: #6f557f;
$custom-dark: #000000;
JSON
{
  "hex": "#35164d",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 77
  },
  "hsl": {
    "h": 273.818,
    "s": 55.556,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27702,
    "c": 0.0988,
    "h": 307
  },
  "luminance": 0.01867
}

Semantic roles & 50–950 ramp

primary
#35164D
secondary
#5B853A
accent
#DF498A
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #35164D

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

Preview Lab → · Contrast checker → · Palette generator →

#35164D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva