#170730#170730

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

Color values

HEX#170730
RGBrgb(23, 7, 48)
HSLhsl(263, 75%, 11%)
HSVhsv(263, 85%, 19%)
CMYKcmyk(52.1%, 85.4%, 0%, 81.2%)
CIE-LABlab(4.95, 17.90, -23.27)
CIE-LCHlch(4.95, 29.36, 307.56°)
OKLaboklab(18.52% 0.0337 -0.0691)
OKLCHoklch(18.52% 0.077 296)
XYZxyz(0.9627, 0.5475, 2.8507)
Luminance0.0055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170730 #203007
analogous
#070B30 #170730 #2B0730
triadic
#170730 #301707 #073017
tetradic
#170730 #30070B #203007 #07302B
square
#170730 #30070B #203007 #07302B
split-complementary
#170730 #302B07 #0B3007
monochromatic
#0D041B #0D041B #170730 #310F65 #4A179B

Accessibility & contrast

On white

18.93
#170730 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#170730 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170730
18.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170730#FFFFFF#000000##FFFFFF
##1707301.0018.931.1118.93
#FFFFFF18.931.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001131
Deuteranopia (green-blind)
#00102F
Tritanopia (blue-blind)
#10111A
Achromatopsia (no color)
#111111

Design tokens & code

CSS
--color: #170730;
/* rgb */ color: rgb(23, 7, 48);
/* oklch */ color: oklch(18.5% 0.077 296.0);
Tailwind
colors: {
  custom: {
    50: '#564968',
    500: '#170730',
    950: '#000000',
  },
}
SCSS
$custom: #170730;
$custom-light: #564968;
$custom-dark: #000000;
JSON
{
  "hex": "#170730",
  "rgb": {
    "r": 23,
    "g": 7,
    "b": 48
  },
  "hsl": {
    "h": 263.415,
    "s": 74.545,
    "l": 10.784
  },
  "oklch": {
    "l": 0.18516,
    "c": 0.07686,
    "h": 296
  },
  "luminance": 0.00548
}

Semantic roles & 50–950 ramp

primary
#170730
secondary
#527023
accent
#F137A8
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030106
muted
#78777A

Preview Lab

Preview with #170730

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

Preview Lab → · Contrast checker → · Palette generator →

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