#35177D#35177D

#35177D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.157 H 287.4°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#35177D
RGBrgb(53, 23, 125)
HSLhsl(258, 69%, 29%)
HSVhsv(258, 82%, 49%)
CMYKcmyk(57.6%, 81.6%, 0%, 51%)
CIE-LABlab(19.43, 40.37, -51.95)
CIE-LCHlch(19.43, 65.79, 307.85°)
OKLaboklab(32.38% 0.047 -0.1495)
OKLCHoklch(32.38% 0.157 287.4)
XYZxyz(5.4752, 2.8501, 19.6597)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35177D #5F7D17
analogous
#172C7D #35177D #68177D
triadic
#35177D #7D3517 #177D35
tetradic
#35177D #7D172C #5F7D17 #177D68
square
#35177D #7D172C #5F7D17 #177D68
split-complementary
#35177D #7D6817 #2C7D17
monochromatic
#0B051A #1F0D49 #35177D #4B21B1 #6535DA

Accessibility & contrast

On white

13.38
#35177D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#35177D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35177D
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35177D#FFFFFF#000000##FFFFFF
##35177D1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#15354A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #35177d;
/* rgb */ color: rgb(53, 23, 125);
/* oklch */ color: oklch(32.4% 0.157 287.4);
Tailwind
colors: {
  custom: {
    50: '#7659a4',
    500: '#35177d',
    950: '#000000',
  },
}
SCSS
$custom: #35177d;
$custom-light: #7659a4;
$custom-dark: #000000;
JSON
{
  "hex": "#35177d",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 125
  },
  "hsl": {
    "h": 257.647,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32376,
    "c": 0.15673,
    "h": 287.4
  },
  "luminance": 0.0285
}

Semantic roles & 50–950 ramp

primary
#35177D
secondary
#90B23E
accent
#EC3CB8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35177D

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

Preview Lab → · Contrast checker → · Palette generator →

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