#170023#170023

#170023 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.5% C 0.078 H 312.4°. Best body text is #FFFFFF at 19.80:1 contrast (WCAG AA passes).

Color values

HEX#170023
RGBrgb(23, 0, 35)
HSLhsl(279, 100%, 7%)
HSVhsv(279, 100%, 14%)
CMYKcmyk(34.3%, 100%, 0%, 86.3%)
CIE-LABlab(2.74, 15.08, -16.81)
CIE-LCHlch(2.74, 22.59, 311.89°)
OKLaboklab(15.54% 0.0524 -0.0573)
OKLCHoklch(15.54% 0.078 312.4)
XYZxyz(0.6567, 0.3035, 1.6138)
Luminance0.0030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170023 #0C2300
analogous
#060023 #170023 #23001E
triadic
#170023 #231700 #002317
tetradic
#170023 #230600 #0C2300 #001E23
square
#170023 #230600 #0C2300 #001E23
split-complementary
#170023 #1E2300 #002306
monochromatic
#14001F #14001F #170023 #3F0060 #67009D

Accessibility & contrast

On white

19.80
#170023 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#170023 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170023
19.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170023#FFFFFF#000000##FFFFFF
##1700231.0019.801.0619.80
#FFFFFF19.801.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000924
Deuteranopia (green-blind)
#000B22
Tritanopia (blue-blind)
#150610
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #170023;
/* rgb */ color: rgb(23, 0, 35);
/* oklch */ color: oklch(15.5% 0.078 312.4);
Tailwind
colors: {
  custom: {
    50: '#53465e',
    500: '#170023',
    950: '#000000',
  },
}
SCSS
$custom: #170023;
$custom-light: #53465e;
$custom-dark: #000000;
JSON
{
  "hex": "#170023",
  "rgb": {
    "r": 23,
    "g": 0,
    "b": 35
  },
  "hsl": {
    "h": 279.429,
    "s": 100,
    "l": 6.863
  },
  "oklch": {
    "l": 0.15543,
    "c": 0.0776,
    "h": 312.4
  },
  "luminance": 0.00304
}

Semantic roles & 50–950 ramp

primary
#170023
secondary
#316C13
accent
#FF2972
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#020004
muted
#787779

Preview Lab

Preview with #170023

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

Preview Lab → · Contrast checker → · Palette generator →

#170023 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva