#170027#170027

#170027 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 16.0% C 0.082 H 308.1°. Best body text is #FFFFFF at 19.70:1 contrast (WCAG AA passes).

Color values

HEX#170027
RGBrgb(23, 0, 39)
HSLhsl(275, 100%, 8%)
HSVhsv(275, 100%, 15%)
CMYKcmyk(41%, 100%, 0%, 84.7%)
CIE-LABlab(2.97, 16.68, -19.57)
CIE-LCHlch(2.97, 25.71, 310.43°)
OKLaboklab(15.99% 0.0504 -0.0642)
OKLCHoklch(15.99% 0.082 308.1)
XYZxyz(0.7195, 0.3287, 1.9446)
Luminance0.0033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170027 #102700
analogous
#040027 #170027 #270023
triadic
#170027 #271700 #002717
tetradic
#170027 #270400 #102700 #002327
square
#170027 #270400 #102700 #002327
split-complementary
#170027 #232700 #002704
monochromatic
#12001F #12001F #170027 #3B0064 #5F00A1

Accessibility & contrast

On white

19.70
#170027 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#170027 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170027
19.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170027#FFFFFF#000000##FFFFFF
##1700271.0019.701.0719.70
#FFFFFF19.701.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000A28
Deuteranopia (green-blind)
#000B26
Tritanopia (blue-blind)
#140812
Achromatopsia (no color)
#0B0B0B

Design tokens & code

CSS
--color: #170027;
/* rgb */ color: rgb(23, 0, 39);
/* oklch */ color: oklch(16.0% 0.082 308.1);
Tailwind
colors: {
  custom: {
    50: '#544661',
    500: '#170027',
    950: '#000000',
  },
}
SCSS
$custom: #170027;
$custom-light: #544661;
$custom-dark: #000000;
JSON
{
  "hex": "#170027",
  "rgb": {
    "r": 23,
    "g": 0,
    "b": 39
  },
  "hsl": {
    "h": 275.385,
    "s": 100,
    "l": 7.647
  },
  "oklch": {
    "l": 0.15989,
    "c": 0.08166,
    "h": 308.1
  },
  "luminance": 0.00329
}

Semantic roles & 50–950 ramp

primary
#170027
secondary
#396F14
accent
#FF2981
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#030005
muted
#787779

Preview Lab

Preview with #170027

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

Preview Lab → · Contrast checker → · Palette generator →

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