#35164C#35164C

#35164C is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.6% C 0.098 H 307.6°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#35164C
RGBrgb(53, 22, 76)
HSLhsl(274, 55%, 19%)
HSVhsv(274, 71%, 30%)
CMYKcmyk(30.3%, 71.1%, 0%, 70.2%)
CIE-LABlab(14.69, 26.75, -27.32)
CIE-LCHlch(14.69, 38.24, 314.39°)
OKLaboklab(27.62% 0.0595 -0.0773)
OKLCHoklch(27.62% 0.098 307.6)
XYZxyz(3.0593, 1.8525, 7.0325)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35164C #2D4C16
analogous
#1A164C #35164C #4C1648
triadic
#35164C #4C3516 #164C35
tetradic
#35164C #4C1A16 #2D4C16 #16484C
square
#35164C #4C1A16 #2D4C16 #16484C
split-complementary
#35164C #484C16 #164C1A
monochromatic
#110718 #14081D #35164C #56247B #7731AB

Accessibility & contrast

On white

15.32
#35164C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35164C
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35164C#FFFFFF#000000##FFFFFF
##35164C1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#0B254B
Tritanopia (blue-blind)
#31212E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #35164c;
/* rgb */ color: rgb(53, 22, 76);
/* oklch */ color: oklch(27.6% 0.098 307.6);
Tailwind
colors: {
  custom: {
    50: '#6f557e',
    500: '#35164c',
    950: '#000000',
  },
}
SCSS
$custom: #35164c;
$custom-light: #6f557e;
$custom-dark: #000000;
JSON
{
  "hex": "#35164c",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 76
  },
  "hsl": {
    "h": 274.444,
    "s": 55.102,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27622,
    "c": 0.09754,
    "h": 307.6
  },
  "luminance": 0.01853
}

Semantic roles & 50–950 ramp

primary
#35164C
secondary
#59843A
accent
#DE4989
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #35164C

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

Preview Lab → · Contrast checker → · Palette generator →

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