#190828#190828

#190828 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 18.2% C 0.064 H 305.5°. Best body text is #FFFFFF at 18.97:1 contrast (WCAG AA passes).

Color values

HEX#190828
RGBrgb(25, 8, 40)
HSLhsl(272, 67%, 9%)
HSVhsv(272, 80%, 16%)
CMYKcmyk(37.5%, 80%, 0%, 84.3%)
CIE-LABlab(4.82, 14.88, -17.43)
CIE-LCHlch(4.82, 22.92, 310.49°)
OKLaboklab(18.22% 0.0371 -0.052)
OKLCHoklch(18.22% 0.064 305.5)
XYZxyz(0.8707, 0.5335, 2.0642)
Luminance0.0053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190828 #172808
analogous
#090828 #190828 #280827
triadic
#190828 #281908 #082819
tetradic
#190828 #280908 #172808 #082728
square
#190828 #280908 #172808 #082728
split-complementary
#190828 #272808 #082809
monochromatic
#10051A #10051A #190828 #39125B #591C8E

Accessibility & contrast

On white

18.97
#190828 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #190828
18.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190828#FFFFFF#000000##FFFFFF
##1908281.0018.971.1118.97
#FFFFFF18.971.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001029
Deuteranopia (green-blind)
#031027
Tritanopia (blue-blind)
#160F16
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #190828;
/* rgb */ color: rgb(25, 8, 40);
/* oklch */ color: oklch(18.2% 0.064 305.5);
Tailwind
colors: {
  custom: {
    50: '#564a62',
    500: '#190828',
    950: '#000000',
  },
}
SCSS
$custom: #190828;
$custom-light: #564a62;
$custom-dark: #000000;
JSON
{
  "hex": "#190828",
  "rgb": {
    "r": 25,
    "g": 8,
    "b": 40
  },
  "hsl": {
    "h": 271.875,
    "s": 66.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.18222,
    "c": 0.0639,
    "h": 305.5
  },
  "luminance": 0.00534
}

Semantic roles & 50–950 ramp

primary
#190828
secondary
#446725
accent
#EA3E8F
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#030105
muted
#787779

Preview Lab

Preview with #190828

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

Preview Lab → · Contrast checker → · Palette generator →

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