#35176E#35176E

#35176E is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.139 H 291.9°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#35176E
RGBrgb(53, 23, 110)
HSLhsl(261, 65%, 26%)
HSVhsv(261, 79%, 43%)
CMYKcmyk(51.8%, 79.1%, 0%, 56.9%)
CIE-LABlab(17.90, 35.95, -44.82)
CIE-LCHlch(17.90, 57.46, 308.73°)
OKLaboklab(30.84% 0.0517 -0.1287)
OKLCHoklch(30.84% 0.139 291.9)
XYZxyz(4.5883, 2.4953, 14.9887)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35176E #506E17
analogous
#17246E #35176E #60176E
triadic
#35176E #6E3517 #176E35
tetradic
#35176E #6E1724 #506E17 #176E60
square
#35176E #6E1724 #506E17 #176E60
split-complementary
#35176E #6E6017 #246E17
monochromatic
#0C0519 #1D0C3B #35176E #4D22A1 #662CD3

Accessibility & contrast

On white

14.01
#35176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35176E
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35176E#FFFFFF#000000##FFFFFF
##35176E1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#222F41
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #35176e;
/* rgb */ color: rgb(53, 23, 110);
/* oklch */ color: oklch(30.8% 0.139 291.9);
Tailwind
colors: {
  custom: {
    50: '#735898',
    500: '#35176e',
    950: '#000000',
  },
}
SCSS
$custom: #35176e;
$custom-light: #735898;
$custom-dark: #000000;
JSON
{
  "hex": "#35176e",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 260.69,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30838,
    "c": 0.13866,
    "h": 291.9
  },
  "luminance": 0.02495
}

Semantic roles & 50–950 ramp

primary
#35176E
secondary
#80A43D
accent
#E83FAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #35176E

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

Preview Lab → · Contrast checker → · Palette generator →

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