#190C42#190C42

#190C42 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.5% C 0.095 H 286.4°. Best body text is #FFFFFF at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#190C42
RGBrgb(25, 12, 66)
HSLhsl(254, 69%, 15%)
HSVhsv(254, 82%, 26%)
CMYKcmyk(62.1%, 81.8%, 0%, 74.1%)
CIE-LABlab(7.79, 23.28, -31.72)
CIE-LCHlch(7.79, 39.35, 306.28°)
OKLaboklab(21.54% 0.0268 -0.0913)
OKLCHoklch(21.54% 0.095 286.4)
XYZxyz(1.5154, 0.8629, 5.2399)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190C42 #35420C
analogous
#0C1A42 #190C42 #340C42
triadic
#190C42 #42190C #0C4219
tetradic
#190C42 #420C1A #35420C #0C4234
square
#190C42 #420C1A #35420C #0C4234
split-complementary
#190C42 #42340C #1A420C
monochromatic
#0A051A #0A051A #190C42 #2D1576 #401FAA

Accessibility & contrast

On white

17.91
#190C42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#190C42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190C42
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190C42#FFFFFF#000000##FFFFFF
##190C421.0017.911.1717.91
#FFFFFF17.911.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001844
Deuteranopia (green-blind)
#001641
Tritanopia (blue-blind)
#071B26
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #190c42;
/* rgb */ color: rgb(25, 12, 66);
/* oklch */ color: oklch(21.5% 0.095 286.4);
Tailwind
colors: {
  custom: {
    50: '#5b4c77',
    500: '#190c42',
    950: '#000000',
  },
}
SCSS
$custom: #190c42;
$custom-light: #5b4c77;
$custom-dark: #000000;
JSON
{
  "hex": "#190c42",
  "rgb": {
    "r": 25,
    "g": 12,
    "b": 66
  },
  "hsl": {
    "h": 254.444,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21538,
    "c": 0.09513,
    "h": 286.4
  },
  "luminance": 0.00863
}

Semantic roles & 50–950 ramp

primary
#190C42
secondary
#6A7E2C
accent
#EC3CC2
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#040109
muted
#79777B

Preview Lab

Preview with #190C42

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

Preview Lab → · Contrast checker → · Palette generator →

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