#17032F#17032F

#17032F is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.6% C 0.083 H 299.1°. Best body text is #FFFFFF at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#17032F
RGBrgb(23, 3, 47)
HSLhsl(267, 88%, 10%)
HSVhsv(267, 94%, 18%)
CMYKcmyk(51.1%, 93.6%, 0%, 81.6%)
CIE-LABlab(4.09, 19.15, -23.89)
CIE-LCHlch(4.09, 30.62, 308.71°)
OKLaboklab(17.6% 0.0405 -0.0728)
OKLCHoklch(17.6% 0.083 299.1)
XYZxyz(0.8989, 0.4525, 2.7288)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17032F #1B2F03
analogous
#03052F #17032F #2D032F
triadic
#17032F #2F1703 #032F17
tetradic
#17032F #2F0305 #1B2F03 #032F2D
square
#17032F #2F0305 #1B2F03 #032F2D
split-complementary
#17032F #2F2D03 #052F03
monochromatic
#0E021D #0E021D #17032F #330769 #4F0AA2

Accessibility & contrast

On white

19.26
#17032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#17032F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17032F
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17032F#FFFFFF#000000##FFFFFF
##17032F1.0019.261.0919.26
#FFFFFF19.261.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000E30
Deuteranopia (green-blind)
#000E2E
Tritanopia (blue-blind)
#110E18
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #17032f;
/* rgb */ color: rgb(23, 3, 47);
/* oklch */ color: oklch(17.6% 0.083 299.1);
Tailwind
colors: {
  custom: {
    50: '#564768',
    500: '#17032f',
    950: '#000000',
  },
}
SCSS
$custom: #17032f;
$custom-light: #564768;
$custom-dark: #000000;
JSON
{
  "hex": "#17032f",
  "rgb": {
    "r": 23,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 267.273,
    "s": 88,
    "l": 9.804
  },
  "oklch": {
    "l": 0.17601,
    "c": 0.08333,
    "h": 299.1
  },
  "luminance": 0.00453
}

Semantic roles & 50–950 ramp

primary
#17032F
secondary
#4B731B
accent
#FE2A9E
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #17032F

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

Preview Lab → · Contrast checker → · Palette generator →

#17032F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva