#170225#170225

#170225 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.3% C 0.074 H 309.0°. Best body text is #FFFFFF at 19.59:1 contrast (WCAG AA passes).

Color values

HEX#170225
RGBrgb(23, 2, 37)
HSLhsl(276, 90%, 8%)
HSVhsv(276, 95%, 15%)
CMYKcmyk(37.8%, 94.6%, 0%, 85.5%)
CIE-LABlab(3.24, 15.05, -17.60)
CIE-LCHlch(3.24, 23.16, 310.55°)
OKLaboklab(16.28% 0.0464 -0.0573)
OKLCHoklch(16.28% 0.074 309)
XYZxyz(0.7089, 0.3592, 1.7819)
Luminance0.0036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#170225 #102502
analogous
#050225 #170225 #250221
triadic
#170225 #251702 #022517
tetradic
#170225 #250502 #102502 #022125
square
#170225 #250502 #102502 #022125
split-complementary
#170225 #212502 #022505
monochromatic
#12021D #12021D #170225 #3B055F #5F0899

Accessibility & contrast

On white

19.59
#170225 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.07
#170225 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #170225
19.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##170225#FFFFFF#000000##FFFFFF
##1702251.0019.591.0719.59
#FFFFFF19.591.0021.001.00
#0000001.0721.001.0021.00
##FFFFFF19.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000B26
Deuteranopia (green-blind)
#000C24
Tritanopia (blue-blind)
#150912
Achromatopsia (no color)
#0C0C0C

Design tokens & code

CSS
--color: #170225;
/* rgb */ color: rgb(23, 2, 37);
/* oklch */ color: oklch(16.3% 0.074 309.0);
Tailwind
colors: {
  custom: {
    50: '#53475f',
    500: '#170225',
    950: '#000000',
  },
}
SCSS
$custom: #170225;
$custom-light: #53475f;
$custom-dark: #000000;
JSON
{
  "hex": "#170225",
  "rgb": {
    "r": 23,
    "g": 2,
    "b": 37
  },
  "hsl": {
    "h": 276,
    "s": 89.744,
    "l": 7.647
  },
  "oklch": {
    "l": 0.16278,
    "c": 0.07367,
    "h": 309
  },
  "luminance": 0.00359
}

Semantic roles & 50–950 ramp

primary
#170225
secondary
#396A18
accent
#FF297E
background
#F4F4F5
surface
#E7E6E9
border
#C3C2C5
text
#020004
muted
#787779

Preview Lab

Preview with #170225

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

Preview Lab → · Contrast checker → · Palette generator →

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