#190F48#190F48

#190F48 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.100 H 283.0°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#190F48
RGBrgb(25, 15, 72)
HSLhsl(251, 66%, 17%)
HSVhsv(251, 79%, 28%)
CMYKcmyk(65.3%, 79.2%, 0%, 71.8%)
CIE-LABlab(9.12, 23.51, -33.77)
CIE-LCHlch(9.12, 41.14, 304.85°)
OKLaboklab(22.68% 0.0225 -0.0973)
OKLCHoklch(22.68% 0.1 283)
XYZxyz(1.7411, 1.0161, 6.2340)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190F48 #3E480F
analogous
#0F2248 #190F48 #360F48
triadic
#190F48 #48190F #0F4819
tetradic
#190F48 #480F22 #3E480F #0F4836
square
#190F48 #480F22 #3E480F #0F4836
split-complementary
#190F48 #48360F #22480F
monochromatic
#090519 #090519 #190F48 #2B1A7B #3C24AD

Accessibility & contrast

On white

17.45
#190F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#190F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190F48
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190F48#FFFFFF#000000##FFFFFF
##190F481.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4A
Deuteranopia (green-blind)
#001847
Tritanopia (blue-blind)
#011E2A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #190f48;
/* rgb */ color: rgb(25, 15, 72);
/* oklch */ color: oklch(22.7% 0.100 283.0);
Tailwind
colors: {
  custom: {
    50: '#5d4e7c',
    500: '#190f48',
    950: '#000000',
  },
}
SCSS
$custom: #190f48;
$custom-light: #5d4e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#190f48",
  "rgb": {
    "r": 25,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 250.526,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22682,
    "c": 0.09983,
    "h": 283
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#190F48
secondary
#748230
accent
#E83FCB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#040109
muted
#79777B

Preview Lab

Preview with #190F48

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

Preview Lab → · Contrast checker → · Palette generator →

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