#190F4A#190F4A

#190F4A is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.103 H 282.4°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#190F4A
RGBrgb(25, 15, 74)
HSLhsl(250, 66%, 17%)
HSVhsv(250, 80%, 29%)
CMYKcmyk(66.2%, 79.7%, 0%, 71%)
CIE-LABlab(9.34, 24.23, -34.81)
CIE-LCHlch(9.34, 42.41, 304.84°)
OKLaboklab(22.9% 0.022 -0.1003)
OKLCHoklch(22.9% 0.103 282.4)
XYZxyz(1.8074, 1.0426, 6.5832)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190F4A #404A0F
analogous
#0F234A #190F4A #360F4A
triadic
#190F4A #4A190F #0F4A19
tetradic
#190F4A #4A0F23 #404A0F #0F4A36
square
#190F4A #4A0F23 #404A0F #0F4A36
split-complementary
#190F4A #4A360F #234A0F
monochromatic
#090519 #090519 #190F4A #2A197D #3B24B0

Accessibility & contrast

On white

17.38
#190F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#190F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190F4A
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190F4A#FFFFFF#000000##FFFFFF
##190F4A1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4C
Deuteranopia (green-blind)
#001849
Tritanopia (blue-blind)
#001F2B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #190f4a;
/* rgb */ color: rgb(25, 15, 74);
/* oklch */ color: oklch(22.9% 0.103 282.4);
Tailwind
colors: {
  custom: {
    50: '#5d4e7d',
    500: '#190f4a',
    950: '#000000',
  },
}
SCSS
$custom: #190f4a;
$custom-light: #5d4e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#190f4a",
  "rgb": {
    "r": 25,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 250.169,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22902,
    "c": 0.10269,
    "h": 282.4
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#190F4A
secondary
#768430
accent
#E93FCC
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #190F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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