#170E3E#170E3E

#170E3E is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.087 H 284.9°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#170E3E
RGBrgb(23, 14, 62)
HSLhsl(251, 63%, 15%)
HSVhsv(251, 77%, 24%)
CMYKcmyk(62.9%, 77.4%, 0%, 75.7%)
CIE-LABlab(7.62, 20.14, -29.16)
CIE-LCHlch(7.62, 35.44, 304.63°)
OKLaboklab(21.23% 0.0223 -0.0839)
OKLCHoklch(21.23% 0.087 284.9)
XYZxyz(1.3796, 0.8440, 4.6467)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170E3E #353E0E
analogous
#0E1D3E #170E3E #2F0E3E
triadic
#170E3E #3E170E #0E3E17
tetradic
#170E3E #3E0E1D #353E0E #0E3E2F
square
#170E3E #3E0E1D #353E0E #0E3E2F
split-complementary
#170E3E #3E2F0E #1D3E0E
monochromatic
#090619 #090619 #170E3E #2A1970 #3C25A2

Accessibility & contrast

On white

17.97
#170E3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170E3E
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170E3E#FFFFFF#000000##FFFFFF
##170E3E1.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#00153D
Tritanopia (blue-blind)
#061A24
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #170e3e;
/* rgb */ color: rgb(23, 14, 62);
/* oklch */ color: oklch(21.2% 0.087 284.9);
Tailwind
colors: {
  custom: {
    50: '#594d74',
    500: '#170e3e',
    950: '#000000',
  },
}
SCSS
$custom: #170e3e;
$custom-light: #594d74;
$custom-dark: #000000;
JSON
{
  "hex": "#170e3e",
  "rgb": {
    "r": 23,
    "g": 14,
    "b": 62
  },
  "hsl": {
    "h": 251.25,
    "s": 63.158,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21228,
    "c": 0.08677,
    "h": 284.9
  },
  "luminance": 0.00844
}

Semantic roles & 50–950 ramp

primary
#170E3E
secondary
#6B792F
accent
#E642C7
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #170E3E

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

Preview Lab → · Contrast checker → · Palette generator →

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