#190940#190940

#190940 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.096 H 288.4°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#190940
RGBrgb(25, 9, 64)
HSLhsl(257, 75%, 14%)
HSVhsv(257, 86%, 25%)
CMYKcmyk(60.9%, 85.9%, 0%, 74.9%)
CIE-LABlab(6.97, 24.23, -31.64)
CIE-LCHlch(6.97, 39.85, 307.44°)
OKLaboklab(20.86% 0.0303 -0.0912)
OKLCHoklch(20.86% 0.096 288.4)
XYZxyz(1.4237, 0.7721, 4.9235)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190940 #304009
analogous
#091540 #190940 #350940
triadic
#190940 #401909 #094019
tetradic
#190940 #400915 #304009 #094035
square
#190940 #400915 #304009 #094035
split-complementary
#190940 #403509 #154009
monochromatic
#0A041B #0A041B #190940 #2E1176 #4318AB

Accessibility & contrast

On white

18.19
#190940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#190940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190940
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190940#FFFFFF#000000##FFFFFF
##1909401.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00143F
Tritanopia (blue-blind)
#091824
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #190940;
/* rgb */ color: rgb(25, 9, 64);
/* oklch */ color: oklch(20.9% 0.096 288.4);
Tailwind
colors: {
  custom: {
    50: '#5b4a75',
    500: '#190940',
    950: '#000000',
  },
}
SCSS
$custom: #190940;
$custom-light: #5b4a75;
$custom-dark: #000000;
JSON
{
  "hex": "#190940",
  "rgb": {
    "r": 25,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 257.455,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.20861,
    "c": 0.09613,
    "h": 288.4
  },
  "luminance": 0.00772
}

Semantic roles & 50–950 ramp

primary
#190940
secondary
#657E27
accent
#F236BB
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #190940

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

Preview Lab → · Contrast checker → · Palette generator →

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