#190231#190231

#190231 is a very dark, moderate violet. Relative luminance 0.005; OKLCH L 17.9% C 0.088 H 300.8°. Best body text is #FFFFFF at 19.19:1 contrast (WCAG AA passes).

Color values

HEX#190231
RGBrgb(25, 2, 49)
HSLhsl(269, 92%, 10%)
HSVhsv(269, 96%, 19%)
CMYKcmyk(49%, 95.9%, 0%, 80.8%)
CIE-LABlab(4.26, 21.38, -25.10)
CIE-LCHlch(4.26, 32.97, 310.42°)
OKLaboklab(17.93% 0.0451 -0.0758)
OKLCHoklch(17.93% 0.088 300.8)
XYZxyz(0.9769, 0.4718, 2.9447)
Luminance0.0047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190231 #1A3102
analogous
#020231 #190231 #310231
triadic
#190231 #311902 #023119
tetradic
#190231 #310202 #1A3102 #023131
square
#190231 #310202 #1A3102 #023131
split-complementary
#190231 #313102 #023102
monochromatic
#0F011D #0F011D #190231 #37046C #5507A7

Accessibility & contrast

On white

19.19
#190231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #190231
19.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190231#FFFFFF#000000##FFFFFF
##1902311.0019.191.0919.19
#FFFFFF19.191.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000F32
Deuteranopia (green-blind)
#000F30
Tritanopia (blue-blind)
#130E19
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #190231;
/* rgb */ color: rgb(25, 2, 49);
/* oklch */ color: oklch(17.9% 0.088 300.8);
Tailwind
colors: {
  custom: {
    50: '#584669',
    500: '#190231',
    950: '#000000',
  },
}
SCSS
$custom: #190231;
$custom-light: #584669;
$custom-dark: #000000;
JSON
{
  "hex": "#190231",
  "rgb": {
    "r": 25,
    "g": 2,
    "b": 49
  },
  "hsl": {
    "h": 269.362,
    "s": 92.157,
    "l": 10
  },
  "oklch": {
    "l": 0.1793,
    "c": 0.0882,
    "h": 300.8
  },
  "luminance": 0.00472
}

Semantic roles & 50–950 ramp

primary
#190231
secondary
#487519
accent
#FF2996
background
#F5F3F6
surface
#E9E5EB
border
#C5C1C6
text
#030006
muted
#78777A

Preview Lab

Preview with #190231

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

Preview Lab → · Contrast checker → · Palette generator →

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