#17053F#17053F

#17053F is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.9% C 0.100 H 288.0°. Best body text is #FFFFFF at 18.58:1 contrast (WCAG AA passes).

Color values

HEX#17053F
RGBrgb(23, 5, 63)
HSLhsl(259, 85%, 13%)
HSVhsv(259, 92%, 25%)
CMYKcmyk(63.5%, 92.1%, 0%, 75.3%)
CIE-LABlab(5.87, 25.46, -32.75)
CIE-LCHlch(5.87, 41.48, 307.87°)
OKLaboklab(19.87% 0.0309 -0.0954)
OKLCHoklch(19.87% 0.1 288)
XYZxyz(1.3046, 0.6495, 4.7583)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17053F #2D3F05
analogous
#05103F #17053F #34053F
triadic
#17053F #3F1705 #053F17
tetradic
#17053F #3F0510 #2D3F05 #053F34
square
#17053F #3F0510 #2D3F05 #053F34
split-complementary
#17053F #3F3405 #103F05
monochromatic
#0A021C #0A021C #17053F #2C0978 #400EB0

Accessibility & contrast

On white

18.58
#17053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#17053F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17053F
18.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17053F#FFFFFF#000000##FFFFFF
##17053F1.0018.581.1318.58
#FFFFFF18.581.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001441
Deuteranopia (green-blind)
#00113E
Tritanopia (blue-blind)
#061622
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #17053f;
/* rgb */ color: rgb(23, 5, 63);
/* oklch */ color: oklch(19.9% 0.100 288.0);
Tailwind
colors: {
  custom: {
    50: '#5a4875',
    500: '#17053f',
    950: '#000000',
  },
}
SCSS
$custom: #17053f;
$custom-light: #5a4875;
$custom-dark: #000000;
JSON
{
  "hex": "#17053f",
  "rgb": {
    "r": 23,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 258.621,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.19872,
    "c": 0.10026,
    "h": 288
  },
  "luminance": 0.0065
}

Semantic roles & 50–950 ramp

primary
#17053F
secondary
#628020
accent
#FC2CBB
background
#F5F4F7
surface
#E9E6ED
border
#C5C2C8
text
#040008
muted
#79777B

Preview Lab

Preview with #17053F

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

Preview Lab → · Contrast checker → · Palette generator →

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