#190948#190948

#190948 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.107 H 284.9°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#190948
RGBrgb(25, 9, 72)
HSLhsl(255, 78%, 16%)
HSVhsv(255, 88%, 28%)
CMYKcmyk(65.3%, 87.5%, 0%, 71.8%)
CIE-LABlab(7.86, 27.10, -35.85)
CIE-LCHlch(7.86, 44.94, 307.09°)
OKLaboklab(21.79% 0.0275 -0.1033)
OKLCHoklch(21.79% 0.107 284.9)
XYZxyz(1.6679, 0.8698, 6.2096)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190948 #384809
analogous
#091848 #190948 #380948
triadic
#190948 #481909 #094819
tetradic
#190948 #480918 #384809 #094838
square
#190948 #480918 #384809 #094838
split-complementary
#190948 #483809 #184809
monochromatic
#09031B #09031B #190948 #2C107E #3F17B5

Accessibility & contrast

On white

17.89
#190948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#190948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190948
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190948#FFFFFF#000000##FFFFFF
##1909481.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00194A
Deuteranopia (green-blind)
#001547
Tritanopia (blue-blind)
#011C28
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #190948;
/* rgb */ color: rgb(25, 9, 72);
/* oklch */ color: oklch(21.8% 0.107 284.9);
Tailwind
colors: {
  custom: {
    50: '#5d4b7c',
    500: '#190948',
    950: '#000000',
  },
}
SCSS
$custom: #190948;
$custom-light: #5d4b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#190948",
  "rgb": {
    "r": 25,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 255.238,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.21789,
    "c": 0.10692,
    "h": 284.9
  },
  "luminance": 0.0087
}

Semantic roles & 50–950 ramp

primary
#190948
secondary
#6E8527
accent
#F434C3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#050109
muted
#79777B

Preview Lab

Preview with #190948

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

Preview Lab → · Contrast checker → · Palette generator →

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