#35179F#35179F

#35179F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.196 H 280.3°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#35179F
RGBrgb(53, 23, 159)
HSLhsl(253, 75%, 36%)
HSVhsv(253, 86%, 62%)
CMYKcmyk(66.7%, 85.5%, 0%, 37.6%)
CIE-LABlab(23.24, 50.24, -66.84)
CIE-LCHlch(23.24, 83.62, 306.93°)
OKLaboklab(36.13% 0.0351 -0.1929)
OKLCHoklch(36.13% 0.196 280.3)
XYZxyz(8.0306, 3.8722, 33.1184)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35179F #819F17
analogous
#173D9F #35179F #79179F
triadic
#35179F #9F3517 #179F35
tetradic
#35179F #9F173D #819F17 #179F79
square
#35179F #9F173D #819F17 #179F79
split-complementary
#35179F #9F7917 #3D9F17
monochromatic
#110834 #230F6A #35179F #471FD4 #6D4BE5

Accessibility & contrast

On white

11.83
#35179F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#35179F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35179F
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35179F#FFFFFF#000000##FFFFFF
##35179F1.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00329D
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #35179f;
/* rgb */ color: rgb(53, 23, 159);
/* oklch */ color: oklch(36.1% 0.196 280.3);
Tailwind
colors: {
  custom: {
    50: '#7c5bbd',
    500: '#35179f',
    950: '#000000',
  },
}
SCSS
$custom: #35179f;
$custom-light: #7c5bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#35179f",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 159
  },
  "hsl": {
    "h": 253.235,
    "s": 74.725,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36128,
    "c": 0.19608,
    "h": 280.3
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#35179F
secondary
#ABC74B
accent
#F136C8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #35179F

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

Preview Lab → · Contrast checker → · Palette generator →

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