#170733#170733

#170733 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.8% C 0.081 H 294.0°. Best body text is #FFFFFF at 18.84:1 contrast (WCAG AA passes).

Color values

HEX#170733
RGBrgb(23, 7, 51)
HSLhsl(262, 76%, 11%)
HSVhsv(262, 86%, 20%)
CMYKcmyk(54.9%, 86.3%, 0%, 80%)
CIE-LABlab(5.18, 19.25, -25.13)
CIE-LCHlch(5.18, 31.65, 307.45°)
OKLaboklab(18.84% 0.0329 -0.0741)
OKLCHoklch(18.84% 0.081 294)
XYZxyz(1.0267, 0.5731, 3.1878)
Luminance0.0057 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170733 #233307
analogous
#070D33 #170733 #2D0733
triadic
#170733 #331707 #073317
tetradic
#170733 #33070D #233307 #07332D
square
#170733 #33070D #233307 #07332D
split-complementary
#170733 #332D07 #0D3307
monochromatic
#0C041B #0C041B #170733 #2F0E69 #48169F

Accessibility & contrast

On white

18.84
#170733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#170733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170733
18.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170733#FFFFFF#000000##FFFFFF
##1707331.0018.841.1118.84
#FFFFFF18.841.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001234
Deuteranopia (green-blind)
#001132
Tritanopia (blue-blind)
#0F121C
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #170733;
/* rgb */ color: rgb(23, 7, 51);
/* oklch */ color: oklch(18.8% 0.081 294.0);
Tailwind
colors: {
  custom: {
    50: '#57496b',
    500: '#170733',
    950: '#000000',
  },
}
SCSS
$custom: #170733;
$custom-light: #57496b;
$custom-dark: #000000;
JSON
{
  "hex": "#170733",
  "rgb": {
    "r": 23,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 261.818,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.18836,
    "c": 0.08107,
    "h": 294
  },
  "luminance": 0.00573
}

Semantic roles & 50–950 ramp

primary
#170733
secondary
#567323
accent
#F235AE
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #170733

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

Preview Lab → · Contrast checker → · Palette generator →

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