#190B40#190B40

#190B40 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.2% C 0.094 H 287.6°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#190B40
RGBrgb(25, 11, 64)
HSLhsl(256, 71%, 15%)
HSVhsv(256, 83%, 25%)
CMYKcmyk(60.9%, 82.8%, 0%, 74.9%)
CIE-LABlab(7.37, 23.14, -30.99)
CIE-LCHlch(7.37, 38.68, 306.75°)
OKLaboklab(21.16% 0.0284 -0.0892)
OKLCHoklch(21.16% 0.094 287.6)
XYZxyz(1.4457, 0.8161, 4.9308)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190B40 #32400B
analogous
#0B1840 #190B40 #340B40
triadic
#190B40 #40190B #0B4019
tetradic
#190B40 #400B18 #32400B #0B4034
square
#190B40 #400B18 #32400B #0B4034
split-complementary
#190B40 #40340B #18400B
monochromatic
#0A041A #0A041A #190B40 #2D1474 #421DA8

Accessibility & contrast

On white

18.05
#190B40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#190B40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190B40
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190B40#FFFFFF#000000##FFFFFF
##190B401.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001742
Deuteranopia (green-blind)
#00153F
Tritanopia (blue-blind)
#091924
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #190b40;
/* rgb */ color: rgb(25, 11, 64);
/* oklch */ color: oklch(21.2% 0.094 287.6);
Tailwind
colors: {
  custom: {
    50: '#5b4b75',
    500: '#190b40',
    950: '#000000',
  },
}
SCSS
$custom: #190b40;
$custom-light: #5b4b75;
$custom-dark: #000000;
JSON
{
  "hex": "#190b40",
  "rgb": {
    "r": 25,
    "g": 11,
    "b": 64
  },
  "hsl": {
    "h": 255.849,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.21161,
    "c": 0.0936,
    "h": 287.6
  },
  "luminance": 0.00816
}

Semantic roles & 50–950 ramp

primary
#190B40
secondary
#677D2A
accent
#ED3ABE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040108
muted
#79777B

Preview Lab

Preview with #190B40

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

Preview Lab → · Contrast checker → · Palette generator →

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