#190728#190728

#190728 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.0% C 0.066 H 306.1°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#190728
RGBrgb(25, 7, 40)
HSLhsl(273, 70%, 9%)
HSVhsv(273, 83%, 16%)
CMYKcmyk(37.5%, 82.5%, 0%, 84.3%)
CIE-LABlab(4.62, 15.29, -17.74)
CIE-LCHlch(4.62, 23.42, 310.75°)
OKLaboklab(18.02% 0.0389 -0.0534)
OKLCHoklch(18.02% 0.066 306.1)
XYZxyz(0.8598, 0.5118, 2.0606)
Luminance0.0051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190728 #162807
analogous
#090728 #190728 #280727
triadic
#190728 #281907 #072819
tetradic
#190728 #280907 #162807 #072728
square
#190728 #280907 #162807 #072728
split-complementary
#190728 #272807 #072809
monochromatic
#10051A #10051A #190728 #3A105C #5A1990

Accessibility & contrast

On white

19.05
#190728 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #190728
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190728#FFFFFF#000000##FFFFFF
##1907281.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F29
Deuteranopia (green-blind)
#021027
Tritanopia (blue-blind)
#160E16
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #190728;
/* rgb */ color: rgb(25, 7, 40);
/* oklch */ color: oklch(18.0% 0.066 306.1);
Tailwind
colors: {
  custom: {
    50: '#564962',
    500: '#190728',
    950: '#000000',
  },
}
SCSS
$custom: #190728;
$custom-light: #564962;
$custom-dark: #000000;
JSON
{
  "hex": "#190728",
  "rgb": {
    "r": 25,
    "g": 7,
    "b": 40
  },
  "hsl": {
    "h": 272.727,
    "s": 70.213,
    "l": 9.216
  },
  "oklch": {
    "l": 0.18021,
    "c": 0.06601,
    "h": 306.1
  },
  "luminance": 0.00512
}

Semantic roles & 50–950 ramp

primary
#190728
secondary
#426823
accent
#ED3B8C
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#030105
muted
#787779

Preview Lab

Preview with #190728

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

Preview Lab → · Contrast checker → · Palette generator →

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