#35177B#35177B

#35177B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.154 H 288.0°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#35177B
RGBrgb(53, 23, 123)
HSLhsl(258, 68%, 29%)
HSVhsv(258, 81%, 48%)
CMYKcmyk(56.9%, 81.3%, 0%, 51.8%)
CIE-LABlab(19.22, 39.78, -51.02)
CIE-LCHlch(19.22, 64.70, 307.95°)
OKLaboklab(32.17% 0.0476 -0.1468)
OKLCHoklch(32.17% 0.154 288)
XYZxyz(5.3487, 2.7995, 18.9936)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35177B #5D7B17
analogous
#172B7B #35177B #67177B
triadic
#35177B #7B3517 #177B35
tetradic
#35177B #7B172B #5D7B17 #177B67
square
#35177B #7B172B #5D7B17 #177B67
split-complementary
#35177B #7B6717 #2B7B17
monochromatic
#0B051A #1F0D47 #35177B #4B21AF #6533D9

Accessibility & contrast

On white

13.46
#35177B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#35177B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35177B
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35177B#FFFFFF#000000##FFFFFF
##35177B1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#173449
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #35177b;
/* rgb */ color: rgb(53, 23, 123);
/* oklch */ color: oklch(32.2% 0.154 288.0);
Tailwind
colors: {
  custom: {
    50: '#7558a2',
    500: '#35177b',
    950: '#000000',
  },
}
SCSS
$custom: #35177b;
$custom-light: #7558a2;
$custom-dark: #000000;
JSON
{
  "hex": "#35177b",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 123
  },
  "hsl": {
    "h": 258,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32166,
    "c": 0.15435,
    "h": 288
  },
  "luminance": 0.028
}

Semantic roles & 50–950 ramp

primary
#35177B
secondary
#8EB03E
accent
#EB3CB7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35177B

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

Preview Lab → · Contrast checker → · Palette generator →

#35177B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva