#35179E#35179E

#35179E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 36.0% C 0.195 H 280.5°. Best body text is #FFFFFF at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#35179E
RGBrgb(53, 23, 158)
HSLhsl(253, 75%, 35%)
HSVhsv(253, 85%, 62%)
CMYKcmyk(66.5%, 85.4%, 0%, 38%)
CIE-LABlab(23.13, 49.96, -66.42)
CIE-LCHlch(23.13, 83.11, 306.95°)
OKLaboklab(36.01% 0.0354 -0.1917)
OKLCHoklch(36.01% 0.195 280.5)
XYZxyz(7.9442, 3.8377, 32.6632)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35179E #809E17
analogous
#173D9E #35179E #78179E
triadic
#35179E #9E3517 #179E35
tetradic
#35179E #9E173D #809E17 #179E78
square
#35179E #9E173D #809E17 #179E78
split-complementary
#35179E #9E7817 #3D9E17
monochromatic
#110733 #230F69 #35179E #471FD3 #6D4BE5

Accessibility & contrast

On white

11.88
#35179E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35179E
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35179E#FFFFFF#000000##FFFFFF
##35179E1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35179e;
/* rgb */ color: rgb(53, 23, 158);
/* oklch */ color: oklch(36.0% 0.195 280.5);
Tailwind
colors: {
  custom: {
    50: '#7c5bbc',
    500: '#35179e',
    950: '#000000',
  },
}
SCSS
$custom: #35179e;
$custom-light: #7c5bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#35179e",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 158
  },
  "hsl": {
    "h": 253.333,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36014,
    "c": 0.19495,
    "h": 280.5
  },
  "luminance": 0.03838
}

Semantic roles & 50–950 ramp

primary
#35179E
secondary
#ABC64A
accent
#F137C8
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #35179E

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

Preview Lab → · Contrast checker → · Palette generator →

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