#17052A#17052A

#17052A is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.5% C 0.073 H 302.1°. Best body text is #FFFFFF at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#17052A
RGBrgb(23, 5, 42)
HSLhsl(269, 79%, 9%)
HSVhsv(269, 88%, 16%)
CMYKcmyk(45.2%, 88.1%, 0%, 83.5%)
CIE-LABlab(4.14, 15.98, -20.04)
CIE-LCHlch(4.14, 25.64, 308.57°)
OKLaboklab(17.49% 0.0386 -0.0614)
OKLCHoklch(17.49% 0.073 302.1)
XYZxyz(0.8254, 0.4579, 2.2349)
Luminance0.0046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17052A #182A05
analogous
#05062A #17052A #2A052A
triadic
#17052A #2A1705 #052A17
tetradic
#17052A #2A0506 #182A05 #052A2A
square
#17052A #2A0506 #182A05 #052A2A
split-complementary
#17052A #2A2A05 #062A05
monochromatic
#0F031B #0F031B #17052A #350C61 #531297

Accessibility & contrast

On white

19.24
#17052A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#17052A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17052A
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17052A#FFFFFF#000000##FFFFFF
##17052A1.0019.241.0919.24
#FFFFFF19.241.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E2B
Deuteranopia (green-blind)
#000E29
Tritanopia (blue-blind)
#130D16
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #17052a;
/* rgb */ color: rgb(23, 5, 42);
/* oklch */ color: oklch(17.5% 0.073 302.1);
Tailwind
colors: {
  custom: {
    50: '#554864',
    500: '#17052a',
    950: '#000000',
  },
}
SCSS
$custom: #17052a;
$custom-light: #554864;
$custom-dark: #000000;
JSON
{
  "hex": "#17052a",
  "rgb": {
    "r": 23,
    "g": 5,
    "b": 42
  },
  "hsl": {
    "h": 269.189,
    "s": 78.723,
    "l": 9.216
  },
  "oklch": {
    "l": 0.17489,
    "c": 0.07253,
    "h": 302.1
  },
  "luminance": 0.00458
}

Semantic roles & 50–950 ramp

primary
#17052A
secondary
#466C1F
accent
#F53397
background
#F5F4F5
surface
#E8E6EA
border
#C4C2C6
text
#030005
muted
#787779

Preview Lab

Preview with #17052A

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

Preview Lab → · Contrast checker → · Palette generator →

#17052A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva