#190831#190831

#190831 is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 19.1% C 0.077 H 297.7°. Best body text is #FFFFFF at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#190831
RGBrgb(25, 8, 49)
HSLhsl(265, 72%, 11%)
HSVhsv(265, 84%, 19%)
CMYKcmyk(49%, 83.7%, 0%, 80.8%)
CIE-LABlab(5.44, 18.67, -23.22)
CIE-LCHlch(5.44, 29.79, 308.80°)
OKLaboklab(19.08% 0.0357 -0.068)
OKLCHoklch(19.08% 0.077 297.7)
XYZxyz(1.0420, 0.6021, 2.9664)
Luminance0.0060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190831 #203108
analogous
#080B31 #190831 #2D0831
triadic
#190831 #311908 #083119
tetradic
#190831 #31080B #203108 #08312D
square
#190831 #31080B #203108 #08312D
split-complementary
#190831 #312D08 #0B3108
monochromatic
#0D041A #0D041A #190831 #341166 #4F199A

Accessibility & contrast

On white

18.74
#190831 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.12
#190831 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190831
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190831#FFFFFF#000000##FFFFFF
##1908311.0018.741.1218.74
#FFFFFF18.741.0021.001.00
#0000001.1221.001.0021.00
##FFFFFF18.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001232
Deuteranopia (green-blind)
#001130
Tritanopia (blue-blind)
#13121B
Achromatopsia (no color)
#121212

Design tokens & code

CSS
--color: #190831;
/* rgb */ color: rgb(25, 8, 49);
/* oklch */ color: oklch(19.1% 0.077 297.7);
Tailwind
colors: {
  custom: {
    50: '#584969',
    500: '#190831',
    950: '#000000',
  },
}
SCSS
$custom: #190831;
$custom-light: #584969;
$custom-dark: #000000;
JSON
{
  "hex": "#190831",
  "rgb": {
    "r": 25,
    "g": 8,
    "b": 49
  },
  "hsl": {
    "h": 264.878,
    "s": 71.93,
    "l": 11.176
  },
  "oklch": {
    "l": 0.19082,
    "c": 0.07676,
    "h": 297.7
  },
  "luminance": 0.00602
}

Semantic roles & 50–950 ramp

primary
#190831
secondary
#517025
accent
#EF39A3
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#030106
muted
#78777A

Preview Lab

Preview with #190831

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

Preview Lab → · Contrast checker → · Palette generator →

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