#170333#170333

#170333 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.1% C 0.088 H 296.0°. Best body text is #FFFFFF at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#170333
RGBrgb(23, 3, 51)
HSLhsl(265, 89%, 11%)
HSVhsv(265, 94%, 20%)
CMYKcmyk(54.9%, 94.1%, 0%, 80%)
CIE-LABlab(4.39, 21.05, -26.39)
CIE-LCHlch(4.39, 33.76, 308.58°)
OKLaboklab(18.06% 0.0387 -0.0793)
OKLCHoklch(18.06% 0.088 296)
XYZxyz(0.9833, 0.4863, 3.1734)
Luminance0.0049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170333 #1F3303
analogous
#030733 #170333 #2F0333
triadic
#170333 #331703 #033317
tetradic
#170333 #330307 #1F3303 #03332F
square
#170333 #330307 #1F3303 #03332F
split-complementary
#170333 #332F03 #073303
monochromatic
#0D021D #0D021D #170333 #31066D #4B0AA7

Accessibility & contrast

On white

19.14
#170333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170333
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170333#FFFFFF#000000##FFFFFF
##1703331.0019.141.1019.14
#FFFFFF19.141.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #170333;
/* rgb */ color: rgb(23, 3, 51);
/* oklch */ color: oklch(18.1% 0.088 296.0);
Tailwind
colors: {
  custom: {
    50: '#57476b',
    500: '#170333',
    950: '#000000',
  },
}
SCSS
$custom: #170333;
$custom-light: #57476b;
$custom-dark: #000000;
JSON
{
  "hex": "#170333",
  "rgb": {
    "r": 23,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 265,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.18064,
    "c": 0.08829,
    "h": 296
  },
  "luminance": 0.00486
}

Semantic roles & 50–950 ramp

primary
#170333
secondary
#50761C
accent
#FF29A6
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #170333

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

Preview Lab → · Contrast checker → · Palette generator →

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