#190C4D#190C4D

#190C4D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.8% C 0.110 H 282.3°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#190C4D
RGBrgb(25, 12, 77)
HSLhsl(252, 73%, 17%)
HSVhsv(252, 84%, 30%)
CMYKcmyk(67.5%, 84.4%, 0%, 69.8%)
CIE-LABlab(9.04, 27.10, -37.39)
CIE-LCHlch(9.04, 46.18, 305.94°)
OKLaboklab(22.79% 0.0236 -0.1078)
OKLCHoklch(22.79% 0.11 282.3)
XYZxyz(1.8715, 1.0053, 7.1152)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190C4D #404D0C
analogous
#0C1F4D #190C4D #3A0C4D
triadic
#190C4D #4D190C #0C4D19
tetradic
#190C4D #4D0C1F #404D0C #0C4D3A
square
#190C4D #4D0C1F #404D0C #0C4D3A
split-complementary
#190C4D #4D3A0C #1F4D0C
monochromatic
#09041A #09041A #190C4D #2A1482 #3B1DB7

Accessibility & contrast

On white

17.49
#190C4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #190C4D
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190C4D#FFFFFF#000000##FFFFFF
##190C4D1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4F
Deuteranopia (green-blind)
#00174C
Tritanopia (blue-blind)
#001F2C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #190c4d;
/* rgb */ color: rgb(25, 12, 77);
/* oklch */ color: oklch(22.8% 0.110 282.3);
Tailwind
colors: {
  custom: {
    50: '#5e4d80',
    500: '#190c4d',
    950: '#000000',
  },
}
SCSS
$custom: #190c4d;
$custom-light: #5e4d80;
$custom-dark: #000000;
JSON
{
  "hex": "#190c4d",
  "rgb": {
    "r": 25,
    "g": 12,
    "b": 77
  },
  "hsl": {
    "h": 252,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22789,
    "c": 0.11039,
    "h": 282.3
  },
  "luminance": 0.01005
}

Semantic roles & 50–950 ramp

primary
#190C4D
secondary
#76892C
accent
#F038CB
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #190C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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