#35176B#35176B

#35176B is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.135 H 292.9°. Best body text is #FFFFFF at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#35176B
RGBrgb(53, 23, 107)
HSLhsl(261, 65%, 25%)
HSVhsv(261, 79%, 42%)
CMYKcmyk(50.5%, 78.5%, 0%, 58%)
CIE-LABlab(17.60, 35.06, -43.35)
CIE-LCHlch(17.60, 55.75, 308.97°)
OKLaboklab(30.54% 0.0525 -0.1244)
OKLCHoklch(30.54% 0.135 292.9)
XYZxyz(4.4277, 2.4311, 14.1430)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35176B #4D6B17
analogous
#17236B #35176B #5F176B
triadic
#35176B #6B3517 #176B35
tetradic
#35176B #6B1723 #4D6B17 #176B5F
square
#35176B #6B1723 #4D6B17 #176B5F
split-complementary
#35176B #6B5F17 #236B17
monochromatic
#0C0519 #1C0C39 #35176B #4E229D #672DD0

Accessibility & contrast

On white

14.13
#35176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35176B
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35176B#FFFFFF#000000##FFFFFF
##35176B1.0014.131.4914.13
#FFFFFF14.131.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#242E40
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #35176b;
/* rgb */ color: rgb(53, 23, 107);
/* oklch */ color: oklch(30.5% 0.135 292.9);
Tailwind
colors: {
  custom: {
    50: '#735796',
    500: '#35176b',
    950: '#000000',
  },
}
SCSS
$custom: #35176b;
$custom-light: #735796;
$custom-dark: #000000;
JSON
{
  "hex": "#35176b",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 261.429,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30542,
    "c": 0.13498,
    "h": 292.9
  },
  "luminance": 0.02431
}

Semantic roles & 50–950 ramp

primary
#35176B
secondary
#7DA13D
accent
#E840AC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #35176B

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

Preview Lab → · Contrast checker → · Palette generator →

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