#35177F#35177F

#35177F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.159 H 286.9°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#35177F
RGBrgb(53, 23, 127)
HSLhsl(257, 69%, 29%)
HSVhsv(257, 82%, 50%)
CMYKcmyk(58.3%, 81.9%, 0%, 50.2%)
CIE-LABlab(19.65, 40.96, -52.87)
CIE-LCHlch(19.65, 66.88, 307.77°)
OKLaboklab(32.59% 0.0463 -0.1522)
OKLCHoklch(32.59% 0.159 286.9)
XYZxyz(5.6042, 2.9017, 20.3393)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35177F #617F17
analogous
#172D7F #35177F #69177F
triadic
#35177F #7F3517 #177F35
tetradic
#35177F #7F172D #617F17 #177F69
square
#35177F #7F172D #617F17 #177F69
split-complementary
#35177F #7F6917 #2D7F17
monochromatic
#0B051A #1F0E4B #35177F #4B20B3 #6536DB

Accessibility & contrast

On white

13.29
#35177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#35177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35177F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35177F#FFFFFF#000000##FFFFFF
##35177F1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#12364B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #35177f;
/* rgb */ color: rgb(53, 23, 127);
/* oklch */ color: oklch(32.6% 0.159 286.9);
Tailwind
colors: {
  custom: {
    50: '#7659a5',
    500: '#35177f',
    950: '#000000',
  },
}
SCSS
$custom: #35177f;
$custom-light: #7659a5;
$custom-dark: #000000;
JSON
{
  "hex": "#35177f",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 257.308,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32588,
    "c": 0.15912,
    "h": 286.9
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

primary
#35177F
secondary
#92B43E
accent
#EC3CB9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35177F

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

Preview Lab → · Contrast checker → · Palette generator →

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