#35175A#35175A

#35175A is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.0% C 0.114 H 299.7°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#35175A
RGBrgb(53, 23, 90)
HSLhsl(267, 59%, 22%)
HSVhsv(267, 74%, 35%)
CMYKcmyk(41.1%, 74.4%, 0%, 64.7%)
CIE-LABlab(16.04, 30.10, -34.65)
CIE-LCHlch(16.04, 45.90, 310.99°)
OKLaboklab(28.95% 0.0564 -0.0988)
OKLCHoklch(28.95% 0.114 299.7)
XYZxyz(3.6196, 2.1078, 9.8870)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35175A #3C5A17
analogous
#171A5A #35175A #57175A
triadic
#35175A #5A3517 #175A35
tetradic
#35175A #5A171A #3C5A17 #175A57
square
#35175A #5A171A #3C5A17 #175A57
split-complementary
#35175A #5A5717 #1A5A17
monochromatic
#0E0618 #180B29 #35175A #52238B #6E30BB

Accessibility & contrast

On white

14.77
#35175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#35175A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35175A
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35175A#FFFFFF#000000##FFFFFF
##35175A1.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35175a;
/* rgb */ color: rgb(53, 23, 90);
/* oklch */ color: oklch(29.0% 0.114 299.7);
Tailwind
colors: {
  custom: {
    50: '#705789',
    500: '#35175a',
    950: '#000000',
  },
}
SCSS
$custom: #35175a;
$custom-light: #705789;
$custom-dark: #000000;
JSON
{
  "hex": "#35175a",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 266.866,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28952,
    "c": 0.11377,
    "h": 299.7
  },
  "luminance": 0.02108
}

Semantic roles & 50–950 ramp

primary
#35175A
secondary
#6B913C
accent
#E2459C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #35175A

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

Preview Lab → · Contrast checker → · Palette generator →

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