#170A29#170A29

#170A29 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.4% C 0.061 H 299.7°. Best body text is #FFFFFF at 18.89:1 contrast (WCAG AA passes).

Color values

HEX#170A29
RGBrgb(23, 10, 41)
HSLhsl(265, 61%, 10%)
HSVhsv(265, 76%, 16%)
CMYKcmyk(43.9%, 75.6%, 0%, 83.9%)
CIE-LABlab(5.05, 13.53, -17.84)
CIE-LCHlch(5.05, 22.39, 307.17°)
OKLaboklab(18.41% 0.0302 -0.0529)
OKLCHoklch(18.41% 0.061 299.7)
XYZxyz(0.8620, 0.5593, 2.1599)
Luminance0.0056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170A29 #1C290A
analogous
#0A0D29 #170A29 #260A29
triadic
#170A29 #29170A #0A2917
tetradic
#170A29 #290A0D #1C290A #0A2926
square
#170A29 #290A0D #1C290A #0A2926
split-complementary
#170A29 #29260A #0D290A
monochromatic
#0E0619 #0E0619 #170A29 #33165A #4E228B

Accessibility & contrast

On white

18.89
#170A29 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#170A29 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170A29
18.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170A29#FFFFFF#000000##FFFFFF
##170A291.0018.891.1118.89
#FFFFFF18.891.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00112A
Deuteranopia (green-blind)
#021128
Tritanopia (blue-blind)
#131118
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #170a29;
/* rgb */ color: rgb(23, 10, 41);
/* oklch */ color: oklch(18.4% 0.061 299.7);
Tailwind
colors: {
  custom: {
    50: '#554b63',
    500: '#170a29',
    950: '#000000',
  },
}
SCSS
$custom: #170a29;
$custom-light: #554b63;
$custom-dark: #000000;
JSON
{
  "hex": "#170a29",
  "rgb": {
    "r": 23,
    "g": 10,
    "b": 41
  },
  "hsl": {
    "h": 265.161,
    "s": 60.784,
    "l": 10
  },
  "oklch": {
    "l": 0.18414,
    "c": 0.06092,
    "h": 299.7
  },
  "luminance": 0.00559
}

Semantic roles & 50–950 ramp

primary
#170A29
secondary
#4C6629
accent
#E444A1
background
#F4F4F5
surface
#E8E7EA
border
#C4C3C6
text
#030105
muted
#787779

Preview Lab

Preview with #170A29

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

Preview Lab → · Contrast checker → · Palette generator →

#170A29 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva