#190C4B#190C4B

#190C4B is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.6% C 0.108 H 283.0°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#190C4B
RGBrgb(25, 12, 75)
HSLhsl(252, 72%, 17%)
HSVhsv(252, 84%, 29%)
CMYKcmyk(66.7%, 84%, 0%, 70.6%)
CIE-LABlab(8.80, 26.42, -36.39)
CIE-LCHlch(8.80, 44.97, 305.98°)
OKLaboklab(22.56% 0.0242 -0.1049)
OKLCHoklch(22.56% 0.108 283)
XYZxyz(1.8020, 0.9775, 6.7490)
Luminance0.0098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190C4B #3E4B0C
analogous
#0C1F4B #190C4B #390C4B
triadic
#190C4B #4B190C #0C4B19
tetradic
#190C4B #4B0C1F #3E4B0C #0C4B39
square
#190C4B #4B0C1F #3E4B0C #0C4B39
split-complementary
#190C4B #4B390C #1F4B0C
monochromatic
#09041A #09041A #190C4B #2B1480 #3C1DB5

Accessibility & contrast

On white

17.56
#190C4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#190C4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190C4B
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190C4B#FFFFFF#000000##FFFFFF
##190C4B1.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B4D
Deuteranopia (green-blind)
#00174A
Tritanopia (blue-blind)
#001E2B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #190c4b;
/* rgb */ color: rgb(25, 12, 75);
/* oklch */ color: oklch(22.6% 0.108 283.0);
Tailwind
colors: {
  custom: {
    50: '#5e4c7e',
    500: '#190c4b',
    950: '#000000',
  },
}
SCSS
$custom: #190c4b;
$custom-light: #5e4c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#190c4b",
  "rgb": {
    "r": 25,
    "g": 12,
    "b": 75
  },
  "hsl": {
    "h": 252.381,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.22556,
    "c": 0.10767,
    "h": 283
  },
  "luminance": 0.00978
}

Semantic roles & 50–950 ramp

primary
#190C4B
secondary
#74872C
accent
#EF39C9
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #190C4B

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

Preview Lab → · Contrast checker → · Palette generator →

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