#170025#170025

#170025 is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.8% C 0.080 H 310.2°. Best body text is #FFFFFF at 19.75:1 contrast (WCAG AA passes).

Color values

HEX#170025
RGBrgb(23, 0, 37)
HSLhsl(277, 100%, 7%)
HSVhsv(277, 100%, 15%)
CMYKcmyk(37.8%, 100%, 0%, 85.5%)
CIE-LABlab(2.85, 15.86, -18.21)
CIE-LCHlch(2.85, 24.14, 311.06°)
OKLaboklab(15.76% 0.0514 -0.0608)
OKLCHoklch(15.76% 0.08 310.2)
XYZxyz(0.6872, 0.3157, 1.7746)
Luminance0.0032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170025 #0E2500
analogous
#040025 #170025 #250021
triadic
#170025 #251700 #002517
tetradic
#170025 #250400 #0E2500 #002125
square
#170025 #250400 #0E2500 #002125
split-complementary
#170025 #212500 #002504
monochromatic
#13001F #13001F #170025 #3D0062 #63009F

Accessibility & contrast

On white

19.75
#170025 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.06
#170025 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170025
19.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170025#FFFFFF#000000##FFFFFF
##1700251.0019.751.0619.75
#FFFFFF19.751.0021.001.00
#0000001.0621.001.0021.00
##FFFFFF19.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000926
Deuteranopia (green-blind)
#000B24
Tritanopia (blue-blind)
#150711
Achromatopsia (no color)
#0A0A0A

Design tokens & code

CSS
--color: #170025;
/* rgb */ color: rgb(23, 0, 37);
/* oklch */ color: oklch(15.8% 0.080 310.2);
Tailwind
colors: {
  custom: {
    50: '#53465f',
    500: '#170025',
    950: '#000000',
  },
}
SCSS
$custom: #170025;
$custom-light: #53465f;
$custom-dark: #000000;
JSON
{
  "hex": "#170025",
  "rgb": {
    "r": 23,
    "g": 0,
    "b": 37
  },
  "hsl": {
    "h": 277.297,
    "s": 100,
    "l": 7.255
  },
  "oklch": {
    "l": 0.15763,
    "c": 0.07962,
    "h": 310.2
  },
  "luminance": 0.00316
}

Semantic roles & 50–950 ramp

primary
#170025
secondary
#356D13
accent
#FF297A
background
#F4F3F5
surface
#E7E5E9
border
#C3C1C5
text
#020004
muted
#787779

Preview Lab

Preview with #170025

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

Preview Lab → · Contrast checker → · Palette generator →

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