#190D4E#190D4E

#190D4E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.111 H 281.8°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#190D4E
RGBrgb(25, 13, 78)
HSLhsl(251, 71%, 18%)
HSVhsv(251, 83%, 31%)
CMYKcmyk(67.9%, 83.3%, 0%, 69.4%)
CIE-LABlab(9.36, 26.87, -37.56)
CIE-LCHlch(9.36, 46.18, 305.58°)
OKLaboklab(23.05% 0.0226 -0.1083)
OKLCHoklch(23.05% 0.111 281.8)
XYZxyz(1.9195, 1.0444, 7.3067)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#190D4E #424E0D
analogous
#0D214E #190D4E #390D4E
triadic
#190D4E #4E190D #0D4E19
tetradic
#190D4E #4E0D21 #424E0D #0D4E39
square
#190D4E #4E0D21 #424E0D #0D4E39
split-complementary
#190D4E #4E390D #214E0D
monochromatic
#08041A #08041A #190D4E #2A1682 #3B1EB7

Accessibility & contrast

On white

17.37
#190D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#190D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #190D4E
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##190D4E#FFFFFF#000000##FFFFFF
##190D4E1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C50
Deuteranopia (green-blind)
#00184D
Tritanopia (blue-blind)
#00202D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #190d4e;
/* rgb */ color: rgb(25, 13, 78);
/* oklch */ color: oklch(23.0% 0.111 281.8);
Tailwind
colors: {
  custom: {
    50: '#5e4d80',
    500: '#190d4e',
    950: '#000000',
  },
}
SCSS
$custom: #190d4e;
$custom-light: #5e4d80;
$custom-dark: #000000;
JSON
{
  "hex": "#190d4e",
  "rgb": {
    "r": 25,
    "g": 13,
    "b": 78
  },
  "hsl": {
    "h": 251.077,
    "s": 71.429,
    "l": 17.843
  },
  "oklch": {
    "l": 0.23049,
    "c": 0.11066,
    "h": 281.8
  },
  "luminance": 0.01045
}

Semantic roles & 50–950 ramp

primary
#190D4E
secondary
#78892E
accent
#EE3ACD
background
#F5F4F7
surface
#EAE7EE
border
#C6C3C9
text
#05010A
muted
#79777C

Preview Lab

Preview with #190D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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