#35167C#35167C

#35167C is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.157 H 287.9°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#35167C
RGBrgb(53, 22, 124)
HSLhsl(258, 70%, 29%)
HSVhsv(258, 82%, 49%)
CMYKcmyk(57.3%, 82.3%, 0%, 51.4%)
CIE-LABlab(19.16, 40.55, -51.75)
CIE-LCHlch(19.16, 65.75, 308.08°)
OKLaboklab(32.16% 0.048 -0.149)
OKLCHoklch(32.16% 0.157 287.9)
XYZxyz(5.3921, 2.7857, 19.3184)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35167C #5D7C16
analogous
#162A7C #35167C #68167C
triadic
#35167C #7C3516 #167C35
tetradic
#35167C #7C162A #5D7C16 #167C68
square
#35167C #7C162A #5D7C16 #167C68
split-complementary
#35167C #7C6816 #2A7C16
monochromatic
#0B051A #1F0D48 #35167C #4B1FB0 #6532DB

Accessibility & contrast

On white

13.49
#35167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#35167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35167C
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35167C#FFFFFF#000000##FFFFFF
##35167C1.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317F
Deuteranopia (green-blind)
#002C7A
Tritanopia (blue-blind)
#163449
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #35167c;
/* rgb */ color: rgb(53, 22, 124);
/* oklch */ color: oklch(32.2% 0.157 287.9);
Tailwind
colors: {
  custom: {
    50: '#7658a3',
    500: '#35167c',
    950: '#000000',
  },
}
SCSS
$custom: #35167c;
$custom-light: #7658a3;
$custom-dark: #000000;
JSON
{
  "hex": "#35167c",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 258.235,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32157,
    "c": 0.1565,
    "h": 287.9
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#35167C
secondary
#8EB13D
accent
#ED3BB7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #35167C

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

Preview Lab → · Contrast checker → · Palette generator →

#35167C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva