#35176D#35176D

#35176D is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.137 H 292.2°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#35176D
RGBrgb(53, 23, 109)
HSLhsl(261, 65%, 26%)
HSVhsv(261, 79%, 43%)
CMYKcmyk(51.4%, 78.9%, 0%, 57.3%)
CIE-LABlab(17.80, 35.65, -44.34)
CIE-LCHlch(17.80, 56.89, 308.81°)
OKLaboklab(30.74% 0.0519 -0.1272)
OKLCHoklch(30.74% 0.137 292.2)
XYZxyz(4.5341, 2.4736, 14.7036)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35176D #4F6D17
analogous
#17246D #35176D #60176D
triadic
#35176D #6D3517 #176D35
tetradic
#35176D #6D1724 #4F6D17 #176D60
square
#35176D #6D1724 #4F6D17 #176D60
split-complementary
#35176D #6D6017 #246D17
monochromatic
#0C0519 #1C0C3A #35176D #4E22A0 #662CD2

Accessibility & contrast

On white

14.05
#35176D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#35176D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35176D
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35176D#FFFFFF#000000##FFFFFF
##35176D1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#002A6B
Tritanopia (blue-blind)
#232E41
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #35176d;
/* rgb */ color: rgb(53, 23, 109);
/* oklch */ color: oklch(30.7% 0.137 292.2);
Tailwind
colors: {
  custom: {
    50: '#735898',
    500: '#35176d',
    950: '#000000',
  },
}
SCSS
$custom: #35176d;
$custom-light: #735898;
$custom-dark: #000000;
JSON
{
  "hex": "#35176d",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 109
  },
  "hsl": {
    "h": 260.93,
    "s": 65.152,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30739,
    "c": 0.13743,
    "h": 292.2
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#35176D
secondary
#7FA33D
accent
#E840AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #35176D

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

Preview Lab → · Contrast checker → · Palette generator →

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