#190D4C#190D4C

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

Color values

HEX#190D4C
RGBrgb(25, 13, 76)
HSLhsl(251, 71%, 17%)
HSVhsv(251, 83%, 30%)
CMYKcmyk(67.1%, 82.9%, 0%, 70.2%)
CIE-LABlab(9.13, 26.17, -36.55)
CIE-LCHlch(9.13, 44.95, 305.60°)
OKLaboklab(22.82% 0.0232 -0.1054)
OKLCHoklch(22.82% 0.108 282.4)
XYZxyz(1.8489, 1.0162, 6.9348)
Luminance0.0102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190D4C #404C0D
analogous
#0D204C #190D4C #390D4C
triadic
#190D4C #4C190D #0D4C19
tetradic
#190D4C #4C0D20 #404C0D #0D4C39
square
#190D4C #4C0D20 #404C0D #0D4C39
split-complementary
#190D4C #4C390D #204C0D
monochromatic
#09041A #09041A #190D4C #2A1680 #3B1FB5

Accessibility & contrast

On white

17.45
#190D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #190D4C
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190D4C#FFFFFF#000000##FFFFFF
##190D4C1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4E
Deuteranopia (green-blind)
#00184B
Tritanopia (blue-blind)
#001F2C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #190d4c;
/* rgb */ color: rgb(25, 13, 76);
/* oklch */ color: oklch(22.8% 0.108 282.4);
Tailwind
colors: {
  custom: {
    50: '#5e4d7f',
    500: '#190d4c',
    950: '#000000',
  },
}
SCSS
$custom: #190d4c;
$custom-light: #5e4d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#190d4c",
  "rgb": {
    "r": 25,
    "g": 13,
    "b": 76
  },
  "hsl": {
    "h": 251.429,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.22817,
    "c": 0.1079,
    "h": 282.4
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#190D4C
secondary
#76872E
accent
#EE3ACB
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #190D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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