#170E3D#170E3D

#170E3D is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.1% C 0.085 H 285.3°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#170E3D
RGBrgb(23, 14, 61)
HSLhsl(251, 63%, 15%)
HSVhsv(251, 77%, 24%)
CMYKcmyk(62.3%, 77%, 0%, 76.1%)
CIE-LABlab(7.53, 19.76, -28.61)
CIE-LCHlch(7.53, 34.77, 304.63°)
OKLaboklab(21.12% 0.0224 -0.0822)
OKLCHoklch(21.12% 0.085 285.3)
XYZxyz(1.3524, 0.8331, 4.5035)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E3D #343D0E
analogous
#0E1D3D #170E3D #2F0E3D
triadic
#170E3D #3D170E #0E3D17
tetradic
#170E3D #3D0E1D #343D0E #0E3D2F
square
#170E3D #3D0E1D #343D0E #0E3D2F
split-complementary
#170E3D #3D2F0E #1D3D0E
monochromatic
#090619 #090619 #170E3D #2A196F #3D25A1

Accessibility & contrast

On white

18.00
#170E3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#170E3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170E3D
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E3D#FFFFFF#000000##FFFFFF
##170E3D1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183E
Deuteranopia (green-blind)
#00153C
Tritanopia (blue-blind)
#071A24
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #170e3d;
/* rgb */ color: rgb(23, 14, 61);
/* oklch */ color: oklch(21.1% 0.085 285.3);
Tailwind
colors: {
  custom: {
    50: '#594d73',
    500: '#170e3d',
    950: '#000000',
  },
}
SCSS
$custom: #170e3d;
$custom-light: #594d73;
$custom-dark: #000000;
JSON
{
  "hex": "#170e3d",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 61
  },
  "hsl": {
    "h": 251.489,
    "s": 62.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21123,
    "c": 0.08525,
    "h": 285.3
  },
  "luminance": 0.00833
}

Semantic roles & 50–950 ramp

primary
#170E3D
secondary
#6A782F
accent
#E642C6
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #170E3D

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

Preview Lab → · Contrast checker → · Palette generator →

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