#35177A#35177A

#35177A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.153 H 288.2°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#35177A
RGBrgb(53, 23, 122)
HSLhsl(258, 68%, 28%)
HSVhsv(258, 81%, 48%)
CMYKcmyk(56.6%, 81.1%, 0%, 52.2%)
CIE-LABlab(19.12, 39.49, -50.56)
CIE-LCHlch(19.12, 64.15, 307.99°)
OKLaboklab(32.06% 0.048 -0.1455)
OKLCHoklch(32.06% 0.153 288.2)
XYZxyz(5.2864, 2.7745, 18.6656)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35177A #5C7A17
analogous
#172A7A #35177A #66177A
triadic
#35177A #7A3517 #177A35
tetradic
#35177A #7A172A #5C7A17 #177A66
square
#35177A #7A172A #5C7A17 #177A66
split-complementary
#35177A #7A6617 #2A7A17
monochromatic
#0B051A #1F0D47 #35177A #4B21AD #6533D9

Accessibility & contrast

On white

13.50
#35177A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35177A
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35177A#FFFFFF#000000##FFFFFF
##35177A1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307D
Deuteranopia (green-blind)
#002C78
Tritanopia (blue-blind)
#183448
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #35177a;
/* rgb */ color: rgb(53, 23, 122);
/* oklch */ color: oklch(32.1% 0.153 288.2);
Tailwind
colors: {
  custom: {
    50: '#7558a1',
    500: '#35177a',
    950: '#000000',
  },
}
SCSS
$custom: #35177a;
$custom-light: #7558a1;
$custom-dark: #000000;
JSON
{
  "hex": "#35177a",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 122
  },
  "hsl": {
    "h": 258.182,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32061,
    "c": 0.15316,
    "h": 288.2
  },
  "luminance": 0.02775
}

Semantic roles & 50–950 ramp

primary
#35177A
secondary
#8DAF3E
accent
#EB3DB6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35177A

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

Preview Lab → · Contrast checker → · Palette generator →

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