#170930#170930

#170930 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.9% C 0.073 H 294.9°. Best body text is #FFFFFF at 18.78:1 contrast (WCAG AA passes).

Color values

HEX#170930
RGBrgb(23, 9, 48)
HSLhsl(262, 68%, 11%)
HSVhsv(262, 81%, 19%)
CMYKcmyk(52.1%, 81.3%, 0%, 81.2%)
CIE-LABlab(5.34, 17.02, -22.65)
CIE-LCHlch(5.34, 28.33, 306.92°)
OKLaboklab(18.89% 0.0309 -0.0665)
OKLCHoklch(18.89% 0.073 294.9)
XYZxyz(0.9844, 0.5909, 2.8579)
Luminance0.0059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170930 #223009
analogous
#090E30 #170930 #2A0930
triadic
#170930 #301709 #093017
tetradic
#170930 #30090E #223009 #09302A
square
#170930 #30090E #223009 #09302A
split-complementary
#170930 #302A09 #0E3009
monochromatic
#0C051A #0C051A #170930 #301364 #481C97

Accessibility & contrast

On white

18.78
#170930 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#170930 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170930
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170930#FFFFFF#000000##FFFFFF
##1709301.0018.781.1218.78
#FFFFFF18.781.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001231
Deuteranopia (green-blind)
#00112F
Tritanopia (blue-blind)
#10121B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #170930;
/* rgb */ color: rgb(23, 9, 48);
/* oklch */ color: oklch(18.9% 0.073 294.9);
Tailwind
colors: {
  custom: {
    50: '#564a68',
    500: '#170930',
    950: '#000000',
  },
}
SCSS
$custom: #170930;
$custom-light: #564a68;
$custom-dark: #000000;
JSON
{
  "hex": "#170930",
  "rgb": {
    "r": 23,
    "g": 9,
    "b": 48
  },
  "hsl": {
    "h": 261.538,
    "s": 68.421,
    "l": 11.176
  },
  "oklch": {
    "l": 0.18892,
    "c": 0.07336,
    "h": 294.9
  },
  "luminance": 0.00591
}

Semantic roles & 50–950 ramp

primary
#170930
secondary
#546E27
accent
#EB3DAD
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #170930

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

Preview Lab → · Contrast checker → · Palette generator →

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