#17082C#17082C

#17082C is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.069 H 298.5°. Best body text is #FFFFFF at 18.96:1 contrast (WCAG AA passes).

Color values

HEX#17082C
RGBrgb(23, 8, 44)
HSLhsl(265, 69%, 10%)
HSVhsv(265, 82%, 17%)
CMYKcmyk(47.7%, 81.8%, 0%, 82.7%)
CIE-LABlab(4.86, 15.67, -20.42)
CIE-LCHlch(4.86, 25.74, 307.51°)
OKLaboklab(18.31% 0.033 -0.0608)
OKLCHoklch(18.31% 0.069 298.5)
XYZxyz(0.8947, 0.5377, 2.4390)
Luminance0.0054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17082C #1D2C08
analogous
#080B2C #17082C #29082C
triadic
#17082C #2C1708 #082C17
tetradic
#17082C #2C080B #1D2C08 #082C29
square
#17082C #2C080B #1D2C08 #082C29
split-complementary
#17082C #2C2908 #0B2C08
monochromatic
#0E051A #0E051A #17082C #321160 #4D1B94

Accessibility & contrast

On white

18.96
#17082C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#17082C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17082C
18.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17082C#FFFFFF#000000##FFFFFF
##17082C1.0018.961.1118.96
#FFFFFF18.961.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00102D
Deuteranopia (green-blind)
#00102B
Tritanopia (blue-blind)
#121018
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #17082c;
/* rgb */ color: rgb(23, 8, 44);
/* oklch */ color: oklch(18.3% 0.069 298.5);
Tailwind
colors: {
  custom: {
    50: '#554a65',
    500: '#17082c',
    950: '#000000',
  },
}
SCSS
$custom: #17082c;
$custom-light: #554a65;
$custom-dark: #000000;
JSON
{
  "hex": "#17082c",
  "rgb": {
    "r": 23,
    "g": 8,
    "b": 44
  },
  "hsl": {
    "h": 265,
    "s": 69.231,
    "l": 10.196
  },
  "oklch": {
    "l": 0.18305,
    "c": 0.06923,
    "h": 298.5
  },
  "luminance": 0.00538
}

Semantic roles & 50–950 ramp

primary
#17082C
secondary
#4E6B25
accent
#EC3CA3
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030105
muted
#78777A

Preview Lab

Preview with #17082C

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

Preview Lab → · Contrast checker → · Palette generator →

#17082C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva