#35176F#35176F

#35176F is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.140 H 291.5°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#35176F
RGBrgb(53, 23, 111)
HSLhsl(260, 66%, 26%)
HSVhsv(260, 79%, 44%)
CMYKcmyk(52.3%, 79.3%, 0%, 56.5%)
CIE-LABlab(18.00, 36.24, -45.31)
CIE-LCHlch(18.00, 58.02, 308.65°)
OKLaboklab(30.94% 0.0514 -0.1301)
OKLCHoklch(30.94% 0.14 291.5)
XYZxyz(4.6430, 2.5172, 15.2771)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35176F #516F17
analogous
#17256F #35176F #61176F
triadic
#35176F #6F3517 #176F35
tetradic
#35176F #6F1725 #516F17 #176F61
square
#35176F #6F1725 #516F17 #176F61
split-complementary
#35176F #6F6117 #256F17
monochromatic
#0C0519 #1D0C3C #35176F #4D22A2 #662DD3

Accessibility & contrast

On white

13.97
#35176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#35176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35176F
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35176F#FFFFFF#000000##FFFFFF
##35176F1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D71
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#222F42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #35176f;
/* rgb */ color: rgb(53, 23, 111);
/* oklch */ color: oklch(30.9% 0.140 291.5);
Tailwind
colors: {
  custom: {
    50: '#735899',
    500: '#35176f',
    950: '#000000',
  },
}
SCSS
$custom: #35176f;
$custom-light: #735899;
$custom-dark: #000000;
JSON
{
  "hex": "#35176f",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 260.455,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30938,
    "c": 0.13988,
    "h": 291.5
  },
  "luminance": 0.02517
}

Semantic roles & 50–950 ramp

primary
#35176F
secondary
#81A53D
accent
#E93FAF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #35176F

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

Preview Lab → · Contrast checker → · Palette generator →

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