#170430#170430

#170430 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.083 H 297.7°. Best body text is #FFFFFF at 19.15:1 contrast (WCAG AA passes).

Color values

HEX#170430
RGBrgb(23, 4, 48)
HSLhsl(266, 85%, 10%)
HSVhsv(266, 92%, 19%)
CMYKcmyk(52.1%, 91.7%, 0%, 81.2%)
CIE-LABlab(4.36, 19.20, -24.21)
CIE-LCHlch(4.36, 30.90, 308.41°)
OKLaboklab(17.92% 0.0384 -0.0731)
OKLCHoklch(17.92% 0.083 297.7)
XYZxyz(0.9301, 0.4824, 2.8398)
Luminance0.0048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170430 #1D3004
analogous
#040730 #170430 #2D0430
triadic
#170430 #301704 #043017
tetradic
#170430 #300407 #1D3004 #04302D
square
#170430 #300407 #1D3004 #04302D
split-complementary
#170430 #302D04 #073004
monochromatic
#0E021C #0E021C #170430 #320968 #4D0DA1

Accessibility & contrast

On white

19.15
#170430 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #170430
19.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170430#FFFFFF#000000##FFFFFF
##1704301.0019.151.1019.15
#FFFFFF19.151.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F31
Deuteranopia (green-blind)
#000F2F
Tritanopia (blue-blind)
#100F19
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #170430;
/* rgb */ color: rgb(23, 4, 48);
/* oklch */ color: oklch(17.9% 0.083 297.7);
Tailwind
colors: {
  custom: {
    50: '#564869',
    500: '#170430',
    950: '#000000',
  },
}
SCSS
$custom: #170430;
$custom-light: #564869;
$custom-dark: #000000;
JSON
{
  "hex": "#170430",
  "rgb": {
    "r": 23,
    "g": 4,
    "b": 48
  },
  "hsl": {
    "h": 265.909,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.17923,
    "c": 0.08254,
    "h": 297.7
  },
  "luminance": 0.00482
}

Semantic roles & 50–950 ramp

primary
#170430
secondary
#4E721D
accent
#FB2DA2
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#030006
muted
#78777A

Preview Lab

Preview with #170430

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

Preview Lab → · Contrast checker → · Palette generator →

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