#35164A#35164A

#35164A is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.095 H 308.9°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#35164A
RGBrgb(53, 22, 74)
HSLhsl(276, 54%, 19%)
HSVhsv(276, 70%, 29%)
CMYKcmyk(28.4%, 70.3%, 0%, 71%)
CIE-LABlab(14.54, 26.21, -26.19)
CIE-LCHlch(14.54, 37.05, 315.02°)
OKLaboklab(27.46% 0.0597 -0.0739)
OKLCHoklch(27.46% 0.095 308.9)
XYZxyz(2.9909, 1.8252, 6.6720)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35164A #2B4A16
analogous
#1B164A #35164A #4A1645
triadic
#35164A #4A3516 #164A35
tetradic
#35164A #4A1B16 #2B4A16 #16454A
square
#35164A #4A1B16 #2B4A16 #16454A
split-complementary
#35164A #454A16 #164A1B
monochromatic
#110718 #13081B #35164A #572479 #7932A8

Accessibility & contrast

On white

15.38
#35164A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35164A
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35164A#FFFFFF#000000##FFFFFF
##35164A1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#0E2549
Tritanopia (blue-blind)
#32202D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #35164a;
/* rgb */ color: rgb(53, 22, 74);
/* oklch */ color: oklch(27.5% 0.095 308.9);
Tailwind
colors: {
  custom: {
    50: '#6e557d',
    500: '#35164a',
    950: '#000000',
  },
}
SCSS
$custom: #35164a;
$custom-light: #6e557d;
$custom-dark: #000000;
JSON
{
  "hex": "#35164a",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 74
  },
  "hsl": {
    "h": 275.769,
    "s": 54.167,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27463,
    "c": 0.095,
    "h": 308.9
  },
  "luminance": 0.01825
}

Semantic roles & 50–950 ramp

primary
#35164A
secondary
#57823A
accent
#DE4A86
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #35164A

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

Preview Lab → · Contrast checker → · Palette generator →

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