#35164F#35164F

#35164F is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.101 H 305.8°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#35164F
RGBrgb(53, 22, 79)
HSLhsl(273, 56%, 20%)
HSVhsv(273, 72%, 31%)
CMYKcmyk(32.9%, 72.2%, 0%, 69%)
CIE-LABlab(14.93, 27.57, -29.00)
CIE-LCHlch(14.93, 40.02, 313.55°)
OKLaboklab(27.87% 0.0593 -0.0822)
OKLCHoklch(27.87% 0.101 305.8)
XYZxyz(3.1661, 1.8952, 7.5946)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35164F #304F16
analogous
#19164F #35164F #4F164D
triadic
#35164F #4F3516 #164F35
tetradic
#35164F #4F1916 #304F16 #164D4F
square
#35164F #4F1916 #304F16 #164D4F
split-complementary
#35164F #4D4F16 #164F19
monochromatic
#100718 #15091F #35164F #55237F #7531AF

Accessibility & contrast

On white

15.23
#35164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#35164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35164F
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35164F#FFFFFF#000000##FFFFFF
##35164F1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#07264E
Tritanopia (blue-blind)
#302230
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #35164f;
/* rgb */ color: rgb(53, 22, 79);
/* oklch */ color: oklch(27.9% 0.101 305.8);
Tailwind
colors: {
  custom: {
    50: '#6f5581',
    500: '#35164f',
    950: '#000000',
  },
}
SCSS
$custom: #35164f;
$custom-light: #6f5581;
$custom-dark: #000000;
JSON
{
  "hex": "#35164f",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 272.632,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27865,
    "c": 0.10133,
    "h": 305.8
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#35164F
secondary
#5D863A
accent
#E0488D
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #35164F

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

Preview Lab → · Contrast checker → · Palette generator →

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