#35175D#35175D

#35175D is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.2% C 0.118 H 298.4°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#35175D
RGBrgb(53, 23, 93)
HSLhsl(266, 60%, 23%)
HSVhsv(266, 75%, 36%)
CMYKcmyk(43%, 75.3%, 0%, 63.5%)
CIE-LABlab(16.30, 30.97, -36.23)
CIE-LCHlch(16.30, 47.66, 310.52°)
OKLaboklab(29.22% 0.0559 -0.1034)
OKLCHoklch(29.22% 0.118 298.4)
XYZxyz(3.7499, 2.1599, 10.5731)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35175D #3F5D17
analogous
#171C5D #35175D #58175D
triadic
#35175D #5D3517 #175D35
tetradic
#35175D #5D171C #3F5D17 #175D58
square
#35175D #5D171C #3F5D17 #175D58
split-complementary
#35175D #5D5817 #1C5D17
monochromatic
#0E0619 #190B2C #35175D #51238E #6D2FBF

Accessibility & contrast

On white

14.66
#35175D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#35175D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35175D
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35175D#FFFFFF#000000##FFFFFF
##35175D1.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#2B2838
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #35175d;
/* rgb */ color: rgb(53, 23, 93);
/* oklch */ color: oklch(29.2% 0.118 298.4);
Tailwind
colors: {
  custom: {
    50: '#71578b',
    500: '#35175d',
    950: '#000000',
  },
}
SCSS
$custom: #35175d;
$custom-light: #71578b;
$custom-dark: #000000;
JSON
{
  "hex": "#35175d",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 93
  },
  "hsl": {
    "h": 265.714,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29221,
    "c": 0.11757,
    "h": 298.4
  },
  "luminance": 0.0216
}

Semantic roles & 50–950 ramp

primary
#35175D
secondary
#6E943C
accent
#E3449F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35175D

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

Preview Lab → · Contrast checker → · Palette generator →

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