#170435#170435

#170435 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.5% C 0.089 H 294.2°. Best body text is #FFFFFF at 19.00:1 contrast (WCAG AA passes).

Color values

HEX#170435
RGBrgb(23, 4, 53)
HSLhsl(263, 86%, 11%)
HSVhsv(263, 92%, 21%)
CMYKcmyk(56.6%, 92.5%, 0%, 79.2%)
CIE-LABlab(4.75, 21.53, -27.29)
CIE-LCHlch(4.75, 34.76, 308.27°)
OKLaboklab(18.5% 0.0364 -0.0812)
OKLCHoklch(18.5% 0.089 294.2)
XYZxyz(1.0392, 0.5260, 3.4142)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170435 #223504
analogous
#040935 #170435 #2F0435
triadic
#170435 #351704 #043517
tetradic
#170435 #350409 #223504 #04352F
square
#170435 #350409 #223504 #04352F
split-complementary
#170435 #352F04 #093504
monochromatic
#0C021C #0C021C #170435 #30086E #480DA7

Accessibility & contrast

On white

19.00
#170435 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#170435 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170435
19.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170435#FFFFFF#000000##FFFFFF
##1704351.0019.001.1119.00
#FFFFFF19.001.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF19.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001136
Deuteranopia (green-blind)
#000F34
Tritanopia (blue-blind)
#0E111C
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #170435;
/* rgb */ color: rgb(23, 4, 53);
/* oklch */ color: oklch(18.5% 0.089 294.2);
Tailwind
colors: {
  custom: {
    50: '#57476d',
    500: '#170435',
    950: '#000000',
  },
}
SCSS
$custom: #170435;
$custom-light: #57476d;
$custom-dark: #000000;
JSON
{
  "hex": "#170435",
  "rgb": {
    "r": 23,
    "g": 4,
    "b": 53
  },
  "hsl": {
    "h": 263.265,
    "s": 85.965,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18495,
    "c": 0.08897,
    "h": 294.2
  },
  "luminance": 0.00526
}

Semantic roles & 50–950 ramp

primary
#170435
secondary
#54771E
accent
#FC2CAB
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030007
muted
#78777A

Preview Lab

Preview with #170435

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

Preview Lab → · Contrast checker → · Palette generator →

#170435 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva