#170639#170639

#170639 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.3% C 0.091 H 290.8°. Best body text is #FFFFFF at 18.72:1 contrast (WCAG AA passes).

Color values

HEX#170639
RGBrgb(23, 6, 57)
HSLhsl(260, 81%, 12%)
HSVhsv(260, 89%, 22%)
CMYKcmyk(59.6%, 89.5%, 0%, 77.6%)
CIE-LABlab(5.49, 22.38, -29.02)
CIE-LCHlch(5.49, 36.65, 307.64°)
OKLaboklab(19.33% 0.0322 -0.085)
OKLCHoklch(19.33% 0.091 290.8)
XYZxyz(1.1568, 0.6078, 3.9265)
Luminance0.0061 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170639 #283906
analogous
#060F39 #170639 #310639
triadic
#170639 #391706 #063917
tetradic
#170639 #39060F #283906 #063931
square
#170639 #39060F #283906 #063931
split-complementary
#170639 #393106 #0F3906
monochromatic
#0B031C #0B031C #170639 #2D0C70 #4412A8

Accessibility & contrast

On white

18.72
#170639 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#170639 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170639
18.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170639#FFFFFF#000000##FFFFFF
##1706391.0018.721.1218.72
#FFFFFF18.721.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00133A
Deuteranopia (green-blind)
#001138
Tritanopia (blue-blind)
#0B141F
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #170639;
/* rgb */ color: rgb(23, 6, 57);
/* oklch */ color: oklch(19.3% 0.091 290.8);
Tailwind
colors: {
  custom: {
    50: '#584870',
    500: '#170639',
    950: '#000000',
  },
}
SCSS
$custom: #170639;
$custom-light: #584870;
$custom-dark: #000000;
JSON
{
  "hex": "#170639",
  "rgb": {
    "r": 23,
    "g": 6,
    "b": 57
  },
  "hsl": {
    "h": 260,
    "s": 80.952,
    "l": 12.353
  },
  "oklch": {
    "l": 0.19328,
    "c": 0.09091,
    "h": 290.8
  },
  "luminance": 0.00608
}

Semantic roles & 50–950 ramp

primary
#170639
secondary
#5C7922
accent
#F730B5
background
#F5F4F6
surface
#E9E6EC
border
#C5C2C7
text
#040007
muted
#79777A

Preview Lab

Preview with #170639

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

Preview Lab → · Contrast checker → · Palette generator →

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