#35176A#35176A

#35176A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.134 H 293.2°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#35176A
RGBrgb(53, 23, 106)
HSLhsl(262, 64%, 25%)
HSVhsv(262, 78%, 42%)
CMYKcmyk(50%, 78.3%, 0%, 58.4%)
CIE-LABlab(17.51, 34.77, -42.85)
CIE-LCHlch(17.51, 55.19, 309.05°)
OKLaboklab(30.44% 0.0528 -0.1229)
OKLCHoklch(30.44% 0.134 293.2)
XYZxyz(4.3754, 2.4101, 13.8675)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35176A #4C6A17
analogous
#17226A #35176A #5E176A
triadic
#35176A #6A3517 #176A35
tetradic
#35176A #6A1722 #4C6A17 #176A5E
square
#35176A #6A1722 #4C6A17 #176A5E
split-complementary
#35176A #6A5E17 #226A17
monochromatic
#0D0519 #1C0C38 #35176A #4E229C #672DCF

Accessibility & contrast

On white

14.17
#35176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#35176A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35176A
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35176A#FFFFFF#000000##FFFFFF
##35176A1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002968
Tritanopia (blue-blind)
#252D3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #35176a;
/* rgb */ color: rgb(53, 23, 106);
/* oklch */ color: oklch(30.4% 0.134 293.2);
Tailwind
colors: {
  custom: {
    50: '#725795',
    500: '#35176a',
    950: '#000000',
  },
}
SCSS
$custom: #35176a;
$custom-light: #725795;
$custom-dark: #000000;
JSON
{
  "hex": "#35176a",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 261.687,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30444,
    "c": 0.13375,
    "h": 293.2
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#35176A
secondary
#7CA03D
accent
#E740AB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #35176A

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

Preview Lab → · Contrast checker → · Palette generator →

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