#170433#170433

#170433 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.3% C 0.086 H 295.5°. Best body text is #FFFFFF at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#170433
RGBrgb(23, 4, 51)
HSLhsl(264, 85%, 11%)
HSVhsv(264, 92%, 20%)
CMYKcmyk(54.9%, 92.2%, 0%, 80%)
CIE-LABlab(4.59, 20.60, -26.07)
CIE-LCHlch(4.59, 33.23, 308.31°)
OKLaboklab(18.26% 0.0372 -0.078)
OKLCHoklch(18.26% 0.086 295.5)
XYZxyz(0.9941, 0.5080, 3.1770)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170433 #203304
analogous
#040833 #170433 #2E0433
triadic
#170433 #331704 #043317
tetradic
#170433 #330408 #203304 #04332E
square
#170433 #330408 #203304 #04332E
split-complementary
#170433 #332E04 #083304
monochromatic
#0D021C #0D021C #170433 #31086C #4A0DA4

Accessibility & contrast

On white

19.06
#170433 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#170433 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170433
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170433#FFFFFF#000000##FFFFFF
##1704331.0019.061.1019.06
#FFFFFF19.061.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001034
Deuteranopia (green-blind)
#000F32
Tritanopia (blue-blind)
#0F101B
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #170433;
/* rgb */ color: rgb(23, 4, 51);
/* oklch */ color: oklch(18.3% 0.086 295.5);
Tailwind
colors: {
  custom: {
    50: '#57476b',
    500: '#170433',
    950: '#000000',
  },
}
SCSS
$custom: #170433;
$custom-light: #57476b;
$custom-dark: #000000;
JSON
{
  "hex": "#170433",
  "rgb": {
    "r": 23,
    "g": 4,
    "b": 51
  },
  "hsl": {
    "h": 264.255,
    "s": 85.455,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18263,
    "c": 0.08641,
    "h": 295.5
  },
  "luminance": 0.00508
}

Semantic roles & 50–950 ramp

primary
#170433
secondary
#52751D
accent
#FC2CA8
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #170433

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

Preview Lab → · Contrast checker → · Palette generator →

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