#35175B#35175B

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

Color values

HEX#35175B
RGBrgb(53, 23, 91)
HSLhsl(266, 60%, 22%)
HSVhsv(266, 75%, 36%)
CMYKcmyk(41.8%, 74.7%, 0%, 64.3%)
CIE-LABlab(16.13, 30.39, -35.18)
CIE-LCHlch(16.13, 46.49, 310.82°)
OKLaboklab(29.04% 0.0562 -0.1003)
OKLCHoklch(29.04% 0.115 299.3)
XYZxyz(3.6624, 2.1250, 10.1127)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35175B #3D5B17
analogous
#171B5B #35175B #57175B
triadic
#35175B #5B3517 #175B35
tetradic
#35175B #5B171B #3D5B17 #175B57
square
#35175B #5B171B #3D5B17 #175B57
split-complementary
#35175B #5B5717 #1B5B17
monochromatic
#0E0618 #190B2A #35175B #51238C #6E30BD

Accessibility & contrast

On white

14.74
#35175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#35175B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35175B
14.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35175B#FFFFFF#000000##FFFFFF
##35175B1.0014.741.4314.74
#FFFFFF14.741.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#2C2737
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #35175b;
/* rgb */ color: rgb(53, 23, 91);
/* oklch */ color: oklch(29.0% 0.115 299.3);
Tailwind
colors: {
  custom: {
    50: '#70578a',
    500: '#35175b',
    950: '#000000',
  },
}
SCSS
$custom: #35175b;
$custom-light: #70578a;
$custom-dark: #000000;
JSON
{
  "hex": "#35175b",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 266.471,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29041,
    "c": 0.11504,
    "h": 299.3
  },
  "luminance": 0.02125
}

Semantic roles & 50–950 ramp

primary
#35175B
secondary
#6C923C
accent
#E3459D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35175B

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

Preview Lab → · Contrast checker → · Palette generator →

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