#17012A#17012A

#17012A is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.6% C 0.082 H 304.6°. Best body text is #FFFFFF at 19.55:1 contrast (WCAG AA passes).

Color values

HEX#17012A
RGBrgb(23, 1, 42)
HSLhsl(272, 95%, 8%)
HSVhsv(272, 98%, 16%)
CMYKcmyk(45.2%, 97.6%, 0%, 83.5%)
CIE-LABlab(3.35, 17.59, -21.28)
CIE-LCHlch(3.35, 27.61, 309.58°)
OKLaboklab(16.58% 0.0466 -0.0676)
OKLCHoklch(16.58% 0.082 304.6)
XYZxyz(0.7820, 0.3710, 2.2205)
Luminance0.0037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17012A #142A01
analogous
#02012A #17012A #2A0128
triadic
#17012A #2A1701 #012A17
tetradic
#17012A #2A0201 #142A01 #01282A
square
#17012A #2A0201 #142A01 #01282A
split-complementary
#17012A #282A01 #012A02
monochromatic
#10011E #10011E #17012A #380266 #5804A2

Accessibility & contrast

On white

19.55
#17012A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#17012A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17012A
19.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17012A#FFFFFF#000000##FFFFFF
##17012A1.0019.551.0719.55
#FFFFFF19.551.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C2B
Deuteranopia (green-blind)
#000C29
Tritanopia (blue-blind)
#130A15
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #17012a;
/* rgb */ color: rgb(23, 1, 42);
/* oklch */ color: oklch(16.6% 0.082 304.6);
Tailwind
colors: {
  custom: {
    50: '#544664',
    500: '#17012a',
    950: '#000000',
  },
}
SCSS
$custom: #17012a;
$custom-light: #544664;
$custom-dark: #000000;
JSON
{
  "hex": "#17012a",
  "rgb": {
    "r": 23,
    "g": 1,
    "b": 42
  },
  "hsl": {
    "h": 272.195,
    "s": 95.349,
    "l": 8.431
  },
  "oklch": {
    "l": 0.16581,
    "c": 0.08211,
    "h": 304.6
  },
  "luminance": 0.00371
}

Semantic roles & 50–950 ramp

primary
#17012A
secondary
#407016
accent
#FF298C
background
#F5F3F5
surface
#E8E5EA
border
#C4C1C6
text
#030005
muted
#787779

Preview Lab

Preview with #17012A

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

Preview Lab → · Contrast checker → · Palette generator →

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