#190428#190428

#190428 is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 17.4% C 0.073 H 307.8°. Best body text is #FFFFFF at 19.28:1 contrast (WCAG AA passes).

Color values

HEX#190428
RGBrgb(25, 4, 40)
HSLhsl(275, 82%, 9%)
HSVhsv(275, 90%, 16%)
CMYKcmyk(37.5%, 90%, 0%, 84.3%)
CIE-LABlab(4.04, 16.49, -18.66)
CIE-LCHlch(4.04, 24.90, 311.47°)
OKLaboklab(17.39% 0.0446 -0.0575)
OKLCHoklch(17.39% 0.073 307.8)
XYZxyz(0.8272, 0.4467, 2.0497)
Luminance0.0045 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190428 #132804
analogous
#070428 #190428 #280425
triadic
#190428 #281904 #042819
tetradic
#190428 #280704 #132804 #042528
square
#190428 #280704 #132804 #042528
split-complementary
#190428 #252804 #042807
monochromatic
#11031C #11031C #190428 #3C0A60 #5F0F97

Accessibility & contrast

On white

19.28
#190428 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#190428 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190428
19.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190428#FFFFFF#000000##FFFFFF
##1904281.0019.281.0919.28
#FFFFFF19.281.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D29
Deuteranopia (green-blind)
#000E27
Tritanopia (blue-blind)
#170B15
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #190428;
/* rgb */ color: rgb(25, 4, 40);
/* oklch */ color: oklch(17.4% 0.073 307.8);
Tailwind
colors: {
  custom: {
    50: '#564862',
    500: '#190428',
    950: '#000000',
  },
}
SCSS
$custom: #190428;
$custom-light: #564862;
$custom-dark: #000000;
JSON
{
  "hex": "#190428",
  "rgb": {
    "r": 25,
    "g": 4,
    "b": 40
  },
  "hsl": {
    "h": 275,
    "s": 81.818,
    "l": 8.627
  },
  "oklch": {
    "l": 0.17389,
    "c": 0.07281,
    "h": 307.8
  },
  "luminance": 0.00447
}

Semantic roles & 50–950 ramp

primary
#190428
secondary
#3D6B1D
accent
#F83083
background
#F5F4F5
surface
#E9E6EA
border
#C5C2C6
text
#030005
muted
#787779

Preview Lab

Preview with #190428

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

Preview Lab → · Contrast checker → · Palette generator →

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