#170D43#170D43

#170D43 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.096 H 283.4°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#170D43
RGBrgb(23, 13, 67)
HSLhsl(251, 68%, 16%)
HSVhsv(251, 81%, 26%)
CMYKcmyk(65.7%, 80.6%, 0%, 73.7%)
CIE-LABlab(7.91, 22.66, -32.26)
CIE-LCHlch(7.91, 39.42, 305.08°)
OKLaboklab(21.6% 0.0222 -0.0929)
OKLCHoklch(21.6% 0.096 283.4)
XYZxyz(1.5101, 0.8752, 5.3985)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170D43 #39430D
analogous
#0D1E43 #170D43 #320D43
triadic
#170D43 #43170D #0D4317
tetradic
#170D43 #430D1E #39430D #0D4332
square
#170D43 #430D1E #39430D #0D4332
split-complementary
#170D43 #43320D #1E430D
monochromatic
#09051A #09051A #170D43 #291776 #3A21AA

Accessibility & contrast

On white

17.87
#170D43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#170D43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170D43
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170D43#FFFFFF#000000##FFFFFF
##170D431.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001945
Deuteranopia (green-blind)
#001642
Tritanopia (blue-blind)
#011C27
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #170d43;
/* rgb */ color: rgb(23, 13, 67);
/* oklch */ color: oklch(21.6% 0.096 283.4);
Tailwind
colors: {
  custom: {
    50: '#5b4c78',
    500: '#170d43',
    950: '#000000',
  },
}
SCSS
$custom: #170d43;
$custom-light: #5b4c78;
$custom-dark: #000000;
JSON
{
  "hex": "#170d43",
  "rgb": {
    "r": 23,
    "g": 13,
    "b": 67
  },
  "hsl": {
    "h": 251.111,
    "s": 67.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21596,
    "c": 0.09552,
    "h": 283.4
  },
  "luminance": 0.00875
}

Semantic roles & 50–950 ramp

primary
#170D43
secondary
#6F7E2D
accent
#EA3DCA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #170D43

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

Preview Lab → · Contrast checker → · Palette generator →

#170D43 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva