#190F41#190F41

#190F41 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.9% C 0.090 H 285.5°. Best body text is #FFFFFF at 17.71:1 contrast (WCAG AA passes).

Color values

HEX#190F41
RGBrgb(25, 15, 65)
HSLhsl(252, 63%, 16%)
HSVhsv(252, 77%, 25%)
CMYKcmyk(61.5%, 76.9%, 0%, 74.5%)
CIE-LABlab(8.39, 20.98, -30.03)
CIE-LCHlch(8.39, 36.64, 304.94°)
OKLaboklab(21.93% 0.024 -0.0863)
OKLCHoklch(21.93% 0.09 285.5)
XYZxyz(1.5256, 0.9299, 5.0991)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190F41 #37410F
analogous
#0F1E41 #190F41 #320F41
triadic
#190F41 #41190F #0F4119
tetradic
#190F41 #410F1E #37410F #0F4132
square
#190F41 #410F1E #37410F #0F4132
split-complementary
#190F41 #41320F #1E410F
monochromatic
#0A0619 #0A0619 #190F41 #2C1A73 #3F26A4

Accessibility & contrast

On white

17.71
#190F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#190F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190F41
17.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190F41#FFFFFF#000000##FFFFFF
##190F411.0017.711.1917.71
#FFFFFF17.711.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A43
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#081C26
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #190f41;
/* rgb */ color: rgb(25, 15, 65);
/* oklch */ color: oklch(21.9% 0.090 285.5);
Tailwind
colors: {
  custom: {
    50: '#5b4e76',
    500: '#190f41',
    950: '#000000',
  },
}
SCSS
$custom: #190f41;
$custom-light: #5b4e76;
$custom-dark: #000000;
JSON
{
  "hex": "#190f41",
  "rgb": {
    "r": 25,
    "g": 15,
    "b": 65
  },
  "hsl": {
    "h": 252,
    "s": 62.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.21934,
    "c": 0.08958,
    "h": 285.5
  },
  "luminance": 0.0093
}

Semantic roles & 50–950 ramp

primary
#190F41
secondary
#6C7B30
accent
#E642C5
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #190F41

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

Preview Lab → · Contrast checker → · Palette generator →

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