#190A42#190A42

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

Color values

HEX#190A42
RGBrgb(25, 10, 66)
HSLhsl(256, 74%, 15%)
HSVhsv(256, 85%, 26%)
CMYKcmyk(62.1%, 84.8%, 0%, 74.1%)
CIE-LABlab(7.38, 24.43, -32.40)
CIE-LCHlch(7.38, 40.58, 307.02°)
OKLaboklab(21.24% 0.0287 -0.0933)
OKLCHoklch(21.24% 0.098 287.1)
XYZxyz(1.4925, 0.8170, 5.2323)
Luminance0.0082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190A42 #33420A
analogous
#0A1742 #190A42 #350A42
triadic
#190A42 #42190A #0A4219
tetradic
#190A42 #420A17 #33420A #0A4235
square
#190A42 #420A17 #33420A #0A4235
split-complementary
#190A42 #42350A #17420A
monochromatic
#0A041B #0A041B #190A42 #2D1277 #411AAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##190A42#FFFFFF#000000##FFFFFF
##190A421.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)
#001844
Deuteranopia (green-blind)
#001541
Tritanopia (blue-blind)
#071A25
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #190a42;
/* rgb */ color: rgb(25, 10, 66);
/* oklch */ color: oklch(21.2% 0.098 287.1);
Tailwind
colors: {
  custom: {
    50: '#5c4b77',
    500: '#190a42',
    950: '#000000',
  },
}
SCSS
$custom: #190a42;
$custom-light: #5c4b77;
$custom-dark: #000000;
JSON
{
  "hex": "#190a42",
  "rgb": {
    "r": 25,
    "g": 10,
    "b": 66
  },
  "hsl": {
    "h": 256.071,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21235,
    "c": 0.09763,
    "h": 287.1
  },
  "luminance": 0.00817
}

Semantic roles & 50–950 ramp

primary
#190A42
secondary
#687F29
accent
#F037BF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #190A42

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

Preview Lab → · Contrast checker → · Palette generator →

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