#190B42#190B42

#190B42 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.096 H 286.7°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#190B42
RGBrgb(25, 11, 66)
HSLhsl(255, 71%, 15%)
HSVhsv(255, 83%, 26%)
CMYKcmyk(62.1%, 83.3%, 0%, 74.1%)
CIE-LABlab(7.58, 23.88, -32.07)
CIE-LCHlch(7.58, 39.98, 306.67°)
OKLaboklab(21.38% 0.0278 -0.0923)
OKLCHoklch(21.38% 0.096 286.7)
XYZxyz(1.5037, 0.8393, 5.2360)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190B42 #34420B
analogous
#0B1842 #190B42 #350B42
triadic
#190B42 #42190B #0B4219
tetradic
#190B42 #420B18 #34420B #0B4235
square
#190B42 #420B18 #34420B #0B4235
split-complementary
#190B42 #42350B #18420B
monochromatic
#0A041A #0A041A #190B42 #2D1476 #411CAB

Accessibility & contrast

On white

17.98
#190B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#190B42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190B42
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190B42#FFFFFF#000000##FFFFFF
##190B421.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001844
Deuteranopia (green-blind)
#001541
Tritanopia (blue-blind)
#071A25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #190b42;
/* rgb */ color: rgb(25, 11, 66);
/* oklch */ color: oklch(21.4% 0.096 286.7);
Tailwind
colors: {
  custom: {
    50: '#5c4b77',
    500: '#190b42',
    950: '#000000',
  },
}
SCSS
$custom: #190b42;
$custom-light: #5c4b77;
$custom-dark: #000000;
JSON
{
  "hex": "#190b42",
  "rgb": {
    "r": 25,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 255.273,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.21383,
    "c": 0.0964,
    "h": 286.7
  },
  "luminance": 0.00839
}

Semantic roles & 50–950 ramp

primary
#190B42
secondary
#697F2A
accent
#EE3AC0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #190B42

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

Preview Lab → · Contrast checker → · Palette generator →

#190B42 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva